Jenkins Beginner Tutorial 11 – How to do Automated Deployment (Step by Step)

Notes:

Today we will learn :
How to do Automated Deployments with Jenkins ?


Step 1
Start Jenkins


Step 2
Install Plugin
(Deploy Plugin)
https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin


Step 3
Create a Build JOB in Jenkins


Step 4
Add Post-build Action Deploy war/ear to container
(add values to the fields)

sample war file – https://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/


Step 5
In tomcat-users.xml add user for DEPLOYMENT
user username=”deployer” password=”deployer” roles=”manager-script” /


Step 6
Run and Validate


What is Automated Deployment

How to install and setup TOMCAT



Jenkins Beginner Playlist
https://www.youtube.com/playlist?list=PLhW3qG5bs-L_ZCOA4zNPSoGbnVQ-rp_dG

Send me your comments and feedback


 

Comments 3

  • I just want to mention I am newbie to weblog and really liked this blog. Most likely I’m going to bookmark your blog post . You certainly have beneficial articles and reviews. Thanks a lot for sharing with us your blog site.

  • Thank you for your blog.Really looking forward to read more. Much obliged.

  • I have two computers: I call one the “good” computer — it has two monitors. The other is my “junk” computer with one screen where I download a lot of stuff to it.. . If I wanted to continue using both computers but only with the dual monitors, what would I need to buy? Is there some sort of splitter I can buy that will allow me to switch between each CPU? Where can I buy one if it does in fact exist? Will I still be able to use one mouse and keyboard?.

Leave a Reply

Your email address will not be published.