Operations 2 min read

Using Active Choices Plugin for Dynamic Parameterized Builds in Jenkins Pipelines

This guide explains how to install and configure the Jenkins Active Choices plugin to create dynamic, parameterized builds in Pipeline projects, including using Groovy scripts for checkbox, radio button, and multi-select UI widgets, and handling reactive parameters with conditional logic.

DevOps Cloud Academy
DevOps Cloud Academy
DevOps Cloud Academy
Using Active Choices Plugin for Dynamic Parameterized Builds in Jenkins Pipelines

When using Jenkins Pipeline projects, builds are often parameterized, requiring input types such as checkboxes, radio buttons, and multi-select values.

To enable this, go to Manage Jenkins → Manage Plugins → Available, search for the Active Choices plugin, install it, and restart Jenkins so the plugin is properly loaded.

The plugin allows dynamic generation of parameter options using Groovy scripts or scripts stored in the Scriptler directory. Parameters can be presented as grouped checkboxes, radio buttons, or rich HTML UI widgets.

By holding Ctrl you can select multiple items in the UI.

Reactive parameters can be defined so that when a UI control's value changes, other parameters are updated dynamically; conditional logic (e.g., using if statements) can be applied to determine the output.

Project repository: https://github.com/jenkinsci/active-choices-plugin

Plugin page: https://plugins.jenkins.io/uno-choice/

CI/CDpipelineJenkinsDynamic ParametersActive Choices
DevOps Cloud Academy
Written by

DevOps Cloud Academy

Exploring industry DevOps practices and technical expertise.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.