In other words, by setting up a "cloud" environment, when Jenkins pipeline runs, it references the cloud setup and start up instances of the images as agents (slaves). The agents then can run various Jenkins tasks. After the pipeline is done, Jenkins will stop and remove the containers running those images.
suresh10214 / docker-jenkins-master-and-slave Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ravindrasinghh/docker-jenkins-master-and-slave
Docker images that Jenkins can use agents (in this post, we'll use the Docker images for master and slaves).