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,580 points
1,045 views

1 answer to this question.

0 votes
Use Gradle publish plugin in built.gradle.

That should do your job!
answered Sep 30, 2020 by Adil Abdullah khan

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,060 points
1,585 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
• 58,990 points
170 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,060 points
756 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
954 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
1,141 views