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


 

0