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 Master
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Platform - Client Master
- 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