Issue
- I would like to create a key-value Choice Parameter drop-down parameter for jobs
Environment
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
- CloudBees CI (CloudBees Core) on traditional platforms - Client controller
- CloudBees Jenkins Enterprise - Managed controller
- CloudBees Jenkins Platform - Client controller
- CloudBees Jenkins Distribution
- Jenkins LTS
- Extensible Choice Parameter Plugin
Resolution
First of all, install the Extensible Choice Parameter Plugin
Access to the job configuration, add a new Extended Choice Parameter
and configure it like next image changing the values at your convenience
You can also use property files
The content of the property files would be
NUMBERS-keys.properties
keys=one,two,three
NUMBERS-values.properties
values=1,2,3
2 Comments