-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.204.2
Active Choices Plug-in 2.2.2
Build With Parameters 1.4
Active Choice radio parameter on parambuild page is always visible as text box (which is fine). Unfortunately, the default value is set incorrectly. The plugin always fills the text box with the first value from the script and does not remove :selected suffix. It means that for the following script:
['1', '2', '3:selected', '4', '5']
it returns 1, and for:
['1:selected', '2', '3', '4', '5']
it returns 1:selected.
This behavior makes radio button unusable when builds are triggered by Jenkins Pipeline build step or parambuild/buildWithParameters URLs.
- is related to
-
JENKINS-28735 Supporting Jobs triggered by plug-ins, API and scripts, timer
-
- Reopened
-
[JENKINS-61068] Active Choices radio parameter has incorrect default value on parambuild URL
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Fixed but Unreleased [ 10203 ] |
Attachment | New: uno-choice.hpi [ 50413 ] |
Attachment | New: image-2020-03-09-15-50-25-634.png [ 50622 ] |
Attachment | New: view-build-with-parameters.png [ 50631 ] |
Attachment | New: view-parambuild.png [ 50632 ] |
Attachment | New: parameter-configuration.png [ 50633 ] |
Attachment | New: image-2020-03-10-09-32-13-452.png [ 50635 ] |
Attachment | New: reference-parameter.gif [ 50637 ] |
Link | New: This issue is related to JENKINS-28735 [ JENKINS-28735 ] |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |