jenkins extended choice parameter plugin multi select values from a property file
For multi-level select lists, you have to enter the column headers (Country,City) in the Value field.
Admin
Updated on June 13, 2022Comments
-
Admin almost 2 years
How do you define the property file to use those values to populate the multi select parameter type of Extended Choice Parameter plugin in Jenkins ?
The plugin is in Jenkins version : 0.34.
I tried to configure a multi select based on a property file, but I can't get the plugin to read my property file correctly.
The file is found.
If I put one line in the file, I get an error from the plugin saying it needs two lines at least.
I tried the example with the countries (provided by the help button of the plugin) but it did not work.
Country City
United States San Francisco
United States Chicago
Mexico Mexico City
Mexico CancunI tried with a property file :
a b
c dIt didn't work either.
What did I miss?
Can it be an encoding problem ?
I used vi to create the file, is the tabulation ok?
I couldn't find an answer in these threads :
Populate 'Multi Select' parameter ('Extended Choice Parameter' plugin) in Jenkins dynamically