August 2017
Intermediate to advanced
332 pages
9h 16m
English
Jenkins becomes overloaded sooner than it seems. Even in case of a small (micro) service, the build can take a few minutes. That means that one team committing frequently can easily kill the Jenkins instance.
For that reason, unless the project is really small, Jenkins should not execute builds at all, but delegate them to the slave (agent) instances. To be precise, the Jenkins we're currently running is called the Jenkins master and it can delegate to the Jenkins agents.
Let's look at the diagram presenting the master-slave interaction:

In a distributed builds environment, the Jenkins master is responsible for:
Read now
Unlock full access