How to deploy a jar file spring boot jar using Jenkins

0 votes
Hi, I'm new to Jenkins if anyone knows how to deploy the jar using Jenkins?

I have gone through the remaining steps like pulling code from the git repository and build that code using Gradle and generated jar.

Now I want to know about how to deploy that generated jar (spring boot jar).
Sep 30, 2020 in Jenkins by anonymous
• 19,610 points
4,544 views

1 answer to this question.

0 votes

Use Gradle publish plugin in built.gradle.

That should do your job!

Enroll in Spring Framework Course online to learn more about it.

Thanks!

answered Sep 30, 2020 by Adil Abdullah khan

edited Mar 4, 2022 by Sarfaraz

Related Questions In Jenkins

0 votes
2 answers
0 votes
1 answer

How to give permissions to jenkins user for a particular file?

Hi@akhtar, To give permissions to jenkins user, you ...READ MORE

answered Feb 14, 2020 in Jenkins by MD
• 95,460 points
4,903 views
0 votes
1 answer

how to create a job using jenkins for Sign the puppet certificate on master ?

Take a look at this  https://fullstack-puppet-docs.readthedoc ...READ MORE

answered May 29, 2020 in Jenkins by Sirajul
• 59,230 points
1,165 views
0 votes
1 answer

how to pass a file to downstream job in jenkins?

Hi@Sourabh, You can do this task by sharing ...READ MORE

answered May 27, 2020 in Jenkins by MD
• 95,460 points
4,193 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,059 views
+2 votes
1 answer
0 votes
1 answer

How to deploy the war file in Tomcat Server with Jenkins pipeline job on an windows machine?

Use deploy to container plugin. Go to the ...READ MORE

answered Sep 30, 2020 in Jenkins by Adil Abdullah Khan
4,654 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP