Operations 3 min read

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.

DevOps Cloud Academy
DevOps Cloud Academy
DevOps Cloud Academy
Using the Active Choices Plugin for Dynamic Parameter Selection in Jenkins Pipelines

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/
CI/CDDevOpsJenkinsDynamic 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.