August 2017
Intermediate to advanced
332 pages
9h 16m
English
We saw dynamic slave provisioning in Chapter 3, Configuring Jenkins. With Docker Swarm, the idea stays exactly the same. When the build is started, the Jenkins master runs a container from the Jenkins slave Docker image, and the Jenkinsfile script is executed inside the container. Docker Swarm, however, makes the solution more powerful since we are not limited to a single Docker host machine but can provide real horizontal scaling. Adding a new Docker host to the cluster effectively scales up the capacity of the Jenkins infrastructure.
Read now
Unlock full access