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.
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/
DevOps Cloud Academy
Exploring industry DevOps practices and technical expertise.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.