How to create a key-value Choice Parameter?

Issue

  • I would like to create a key-value Choice Parameter drop-down parameter for the jobs

Environment

  • CloudBees Jenkins Enterprise
  • Jenkins
  • Extensible Choice Parameter Plugin

Resolution

First at all, install the Extensible Choice Parameter Plugin.

Access to the job configuration, add a new Extended Choice Parameter and configure it like the 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
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.