© 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 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.