Jenkins agent

There are quite a few ways to run Jenkins agents. The problem with most of them is that they force us to add agents separately through Jenkins UI. Instead of adding agents one by one, we'll try to leverage Docker Swarms ability to scale services.

One way we can accomplish the quest for making scalable agents is the Jenkins Swarm Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin). Before you start making wrong conclusions, I must state that this plugin has nothing to do with Docker Swarm. The only thing they share is the word Swarm.

The Jenkins Swarm Plugin (https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin) allows us to auto-discover nearby masters and join them automatically. We'll use it only for the ...

Get The DevOps 2.1 Toolkit: Docker Swarm now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.