Docker Jenkins Automation
Docker Jenkins Automation Task Description – Create container image that’s has Linux and other basic configuration required to run Slave for Jenkins. (example here we require kubectl to be configured) When we launch the job it should automatically starts job on slave based on the label provided for dynamic approach. Create a job chain of job1 and job 2 using build pipeline plugin in Jenkins. JOB 1 – Pull the Github repo automatically when some devlopers push repo to github and perform the following operations as: 1. Create the new image dynamically for the application and copy the application code into that corresponding Docker image. 2. Push that image to the Docker hub ( Public Repository ) ( Github code contain the application code and Dockerfile to create a new image. JOB 2 – Launch the application on the top of kubernetes cluster performi...