Jenkins Beginner Tutorial 11 – How to do Automated Deployment (Step by Step)
All FREE courses – https://automationstepbystep.com/
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
You can also goto your Jenkins on browser and
– Manage Jenkins – Plugins Manager – Click on Available tab and search for deploy to container
Add to Jenkins
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
—————————————————————————————————
If you want to deploy on more than one server. Check these links
https://stackoverflow.com/questions/15031415/jenkins-how-to-make-single-job-build-and-deploy-on-two-servers?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
http://paxcel.net/blog/automation-of-warear-deployment-using-jenkins/
_____________________________________________________________
Jenkins Playlist:
Like on Facebook – https://www.facebook.com/automationstepbystep/
Subscribe on:
Youtube – http://youtube.com/automationstepbystep
________ ONLINE COURSES TO LEARN ________
Visit – http://automationstepbystep.com/
———— UI TESTING ————
Selenium Beginners – https://bit.ly/2MGRS8K
Selenium Java Framework from Scratch – https://bit.ly/2N9xvR6
Selenium Python – https://bit.ly/2oyMp5x
Selenium Tips – https://bit.ly/2owxc50
Selenium Builder – https://bit.ly/2MKNtlq
Katalon Studio – https://bit.ly/2wARFdi
Robot Framework – https://bit.ly/2Px6Ue9
———— API TESTING ————
Web Services (API) – https://bit.ly/2MGafL7
SoapUI – https://bit.ly/2MGahmd
Postman – https://bit.ly/2wz8LrW
General – https://bit.ly/2PYdwmV
———— MOBILE TESTING ————
Mobile Playlist – https://bit.ly/2PxpeUv
———— CI | CD | DEVOPS ————
Jenkins Beginner – https://bit.ly/2MIn8EC
Jenkins Tips & Trick – https://bit.ly/2LRt6xC
Docker – https://bit.ly/2MInnzx
———— VERSION CONTROL SYSTEM ————
Git & GitHub – https://bit.ly/2Q1pagY
———— PERFORMANCE TESTING ————
JMeter Beginner – https://bit.ly/2oBbtIU
JMeter Intermediate – https://bit.ly/2oziNVB
JMeter Advanced – https://bit.ly/2Q22Y6a
JMeter Tips & Tricks – https://bit.ly/2NOfWD2
Performance Testing – https://bit.ly/2wEXbLS
———— JAVA ————
Java Beginners – https://bit.ly/2PVUcXs
Java Tips & Tricks – https://bit.ly/2CdcDnJ
———— MAVEN ————
Maven – https://bit.ly/2NJdDRS
———— OTHERS ————
Redis- https://bit.ly/2N9jyCG
Misc – https://bit.ly/2Q2q5xQ
Tools & Tips – https://bit.ly/2oBfwoR
QnA Friday- https://bit.ly/2NgwGpw
Sunday Special – https://bit.ly/2wB23BO
Ask Raghav- https://bit.ly/2CoJGWf
Interviews – https://bit.ly/2NIPPxk
All Playlists – https://bit.ly/2LSiezA
———— FOLLOW ————
Facebook – https://www.facebook.com/automationstepbystep
Twitter – https://twitter.com/automationsbs
Youtube – http://youtube.com/automationstepbystep
by Automation Step by Step – Raghav Pal
linux web server