Jenkins - Dynamic Extended Choice option to populate multilevel select list

Is there a way to use a dynamic (modified) Extended Choice parameter to bind with an Extended Choice Parameter multilevel box to populate a first level list box?

For example, if I had:

Moded extended choice parameter

It will link to this box below:

Extended choice multi level

If you have the first level (Choice) by default with their choice ModedChoice (Choice1, Choice2, Choice3) or based on their choice ModedChoice, Value1 will be filled (in which case I would choose the choice level).

I know that the second method I was talking about could be done for a single picklist as described on the wiki and it will look for a text file Choice1.txt, Choice2.txt, etc. that will contain the values ​​Value1 ( i.e. key = value1.1, value1.2, value1.3, etc.).

I could not figure out how to have this key containing a multilevel list as it is a tab-delimited format for separating columns i.e.

Choice    Value1    Value2
choice1    value1.1    value2.1
choice1    value1.1    value2.2
choice2    value1.2    value2.1
choice2    value1.1    value2.5
choice3    value1.2    value2.7

      

etc..

I tried something like (Choice1.txt):

key='Value1    Value2
value1.1    value2.1
value1.1    value2.2
value1.2    value2.1
value1.1    value2.5
value1.2    value2.7'   

      

etc. for Choice2.txt and Choice3.txt.

But that just fills in the tiered level with Value1 Value2

.

I tried binding to another Moded Choice (Multi Select) and left the Key field blank and kept the appropriate tab-delimited format for the multi-level select list, but it still outputs Value1 Value2

.

+3
jenkins jenkins-plugins


source to share


No one has answered this question yet

See similar questions:

0
Choosing Jenkins Options for Server Deployment

or similar:

3
Configure the "Multi Select" parameter (advanced selection plugin) in Jenkins dynamically
2
jenkins advanced parameter plugin parameter multi select values ​​from properties file
2
Reading the value of the first dropdown from an advanced selection option - multilevel single selection
1
Jenkins parameters - populated from MSSQL database?
1
Accessing Multi select values ​​in Jenkins advanced selection options module
1
Jenkins - Get repos and branches as select parameter
1
Multilevel layered file of advanced selection parameters selection
0
Could not see 2nd level selection for advanced selection options plugin in Jenkins
0
Jenkins - select parameter - mysql database query return list
0
Jenkins Advanced Selection Option - Using Values



All Articles
Loading...
X
Show
Funny
Dev
Pics