© Nikhil Pathania 2017

Nikhil Pathania, Pro Continuous Delivery, 10.1007/978-1-4842-2913-2_6

6. Using Containers for Distributed Builds

Nikhil Pathania

(1)Bangalore, Karnataka, India

In the current chapter we will learn to use Docker with Jenkins to provision on-demand Jenkins Slaves. Next, we will learn to use Kubernetes with Jenkins to provision on-demand Jenkins Slaves running across multiple Docker hosts, thus, creating a scalable build farm for running builds.

Distributed Builds Using Docker

In this section we will learn to use Docker containers as Jenkins Slave (build agents), to run our CI pipelines. These Docker containers (build agents) will be created when the CI pipeline runs; the build will be performed inside the container, and once ...

Get Pro Continuous Delivery: With Jenkins 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.