-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.126
Plugin Version: 2.1
There is a pipeline job with multiple Active choices parameter and dependent Active choice Reactive Reference Parameters. Consider following scenario:
- Active Choice: Tomcat. Active choice Reactive Reference Parameters: Find files from repository related to Tomcat and html to return the choices for user to select the version
- Active Choice: SVN client. Active choice Reactive Reference Parameters: Find files from repository related to SVN client and html to return the choices for user to select the version
To return the value, I am using:
Active choice Reactive Reference Parameter 1:
html=html+"""
<input type="radio" json="${it}" name="value" value="${it}">${it as String}
<br>
"""
Active choice Reactive Reference Parameter 2:
html2=html2+"""
<input type="radio" json="${it}" name="value" value="${it}">${it as String}
<br>
"""
I am using different htmls to return the list but the input name is "value" for both Reactive Reference Parameters. In this case, the radio button toggles between Choice 1 and choice 2 while selection.
If the input name is changed, I am able to select any option from both Choice 1 and Choice 2 but the value is not passed to the pipeline.
How is it possible to pass the value to the pipeline.
PFA config.xml
Have you tried to go into the advanced options of the AC Reactive Reference and check the Omit value field option? Otherwise the default 'null' value is passed into the build