CONTINOUS INTEGERATION-ENVIRONMENT PRODUCTION BY DOCKER WITH HELP OF JENKINS
TASK:-
->JOB#1
If Developer push to dev branch then Jenkins will fetch from dev and deploy on dev-docker environment.
->JOB#2
If Developer push to master branch then Jenkins will fetch from master and deploy on master-docke environment.
both dev-docker and master-docker environment are on different docker containers.
->JOB#3
Manually the QA team will check (test) for the website running in dev-docker environment. If it is running fine then Jenkins will merge the dev branch to master branch and trigger #job 2
SOLUTION
1) Developer push the code to master branch,Job2 triggers…….
2)As the developer push to dev1 branch,then jenkins fetch from dev1 and deploy on testing container..
3)Manually the QA team will check (test) for website running in dev1-docker environment .If it running fine then jenkins will merge dev1 branch to master branch and trigger job2…
JOB3 OUTPUT:-
Thank you for giving your time to this article.