Using the Active Choices Plugin for Dynamic Parameter Selection in Jenkins Pipelines
This tutorial explains how to install the Jenkins Active Choices plugin and create dynamic, script‑driven parameters—including checkboxes, radio buttons, and reactive fields—to enhance pipeline builds with flexible UI controls.
This article introduces the Active Choices plugin for Jenkins, which enables dynamic generation of parameter options in pipeline jobs.
To install the plugin, navigate to Manage Jenkins → Manage Plugins → Available , search for "Active Choices Plugin", install it, and restart Jenkins.
Active choices parameters can be created using Groovy scripts or scripts stored in the Scriptler directory, allowing you to present checkboxes, radio buttons, or rich HTML UI widgets that update dynamically based on script output.
Holding the Ctrl key while selecting checkboxes enables multiple selections.
Reactive parameters automatically update when the value of another UI control changes; you can use conditional statements such as if to determine the displayed values.
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.