0 of 0

Jenkins Dynamic Build Agents

Intermediate
~30 min

Introduction

CURRENT

THE SCENARIO

Jenkins is one of the most widely adopted CI/CD platforms in the world. The Parallels DevOps Jenkins Plugin enables ephemeral build agents—virtual machines that are created on demand when Jenkins detects queued work, run a single build, and are automatically destroyed when finished.

With this plugin, you can:

  • Provision macOS, Windows, and Linux agents dynamically from golden images using the catalog service of Parallels DevOps Service - Scale your build fleet elastically to match workload demand - Ensure build isolation by giving each job a fresh, clean VM - Reduce costs by only running VMs when builds are actively executing Before you begin: This tutorial assumes you have a working Parallels DevOps Service instance. If you haven’t set it up yet, complete the DevOps CLI Quick Start tutorial first.

KEY OUTCOMES

  • Set up Jenkins with the Parallels DevOps plugin
  • Prepare golden image VMs with build dependencies
  • Configure Jenkins cloud providers and agent templates
  • Run dynamically provisioned builds on macOS, Linux, and Windows
PREREQUISITES
MANDATORY
  • **Parallels DevOps Service** installed and running — [Complete this tutorial first](/prl-devops-service/tutorials/tutorial_devops-cli-quickstart/)
  • Jenkins LTS 2.440.x or newer
  • JDK 17 or 21 for running Jenkins
flowchart TB A[Jenkins Controller] -->|Detects queued build| B[Parallels DevOps Plugin] B -->|Clone VM Request| C[DevOps Service] C -->|Clones Golden Image| D[Base VM - Stopped] C -->|Creates & Starts| E[Ephemeral VM] E -->|Connects as Agent| A A -->|Runs Build| E A -->|Build Complete| B B -->|Delete VM| C C -->|Destroys| E
Loading…