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

0 votes
Can anyone tell me how to deploy the war file in Tomcat Server with Jenkins pipeline job on an windows machine!

Any suggestions will be helpful
Sep 30, 2020 in Jenkins by anonymous
• 19,610 points
2,046 views

1 answer to this question.

0 votes
Use deploy to container plugin.

Go to the pipeline generator (it is not a plugin, where you write pipeline, there is something like... Pipeline snippet)

Click on that... Chose to deploy to container and fill details...

It will generate a script...Copy that and Paste in your pipeline steps.

Hope this helps!
answered Sep 30, 2020 by Adil Abdullah Khan

Related Questions In Jenkins

0 votes
2 answers
+2 votes
4 answers
0 votes
1 answer

How to rebuild an item on Jenkins pipeline

Yes you can, its pretty simple actually. Go ...READ MORE

answered Jul 10, 2018 in Jenkins by Kalgi
• 2,680 points
1,936 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
1,196 views
+2 votes
1 answer
0 votes
1 answer

How to deploy a jar file (spring boot jar) using Jenkins?

Use Gradle publish plugin in built.gradle. That should ...READ MORE

answered Sep 30, 2020 in Jenkins by Adil Abdullah khan
1,732 views