From the course: Learning Jenkins: Automating Software Development and System Administration

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Build agents and cloud runners

Build agents and cloud runners

- [Instructor] So far, we've been working with Jenkins running all jobs on a single machine. This is perfect for learning Jenkins and experimenting, but in real-world projects is common to distribute jobs across multiple machines. That's where build agents come in. A build agent is simply another machine that Jenkins can delegate work to. This could be another server on your network, or even better, a cloud-based compute resource that spins up on demand. Using distributed agents lets Jenkins scale more efficiently. For example, you might run tests on one agent, while building and deploying on other agents, or you could configure agents with different tools or operating systems, depending on the types of applications being developed. Some teams use cloud runners. In this case, the build agents run on servers, hosted in Amazon Web Services, Microsoft Azure, or Google Cloud. Plugins designed specifically for these clouds allow Jenkins to dynamically create agents as needed. After the…

Contents