-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
jenkins 2.335+
active-choices-plugin 2.6.0
-
-
2.6.3
Upgrading from 2.334 to 2.335 seems to cause this issue for us (also tried 2.338 with same resutls)
Prior to 2.335 clicking on the deploy parameter would populate the list of environments
properties([ parameters([ booleanParam(defaultValue: false, description: 'Check here to deploy the resulting package', name: 'deploy'), [$class: 'CascadeChoiceParameter', choiceType: 'PT_CHECKBOX', description: 'Select Environment', filterLength: 1, filterable: false, name: 'Deploy_Environment', referencedParameters: 'deploy', randomName: 'choice-parameter-24279069879311510', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], sandbox: false, script: ''], script: [classpath: [], sandbox: true, script: ''' return deploy ? ["dev","qa"] : [] ''']]], ] )])
Plugin version: 2.6.0
- is related to
-
JENKINS-68013 Active Choices Reactive Reference Parameter is not referring Boolean parameter in Jenkins
-
- Reopened
-
[JENKINS-68012] CascadeChoiceParameter not rendering values
Description |
Original:
Upgrading from 2.334 to 2.335 seems to cause this issue for us.
Prior to 2.335 clicking on the deploy parameter would populate the list of environments {code:java} properties([ parameters([ booleanParam(defaultValue: false, description: 'Check here to deploy the resulting package', name: 'deploy'), [$class: 'CascadeChoiceParameter', choiceType: 'PT_CHECKBOX', description: 'Select Environment', filterLength: 1, filterable: false, name: 'Deploy_Environment', referencedParameters: 'deploy', randomName: 'choice-parameter-24279069879311510', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], sandbox: false, script: ''], script: [classpath: [], sandbox: true, script: ''' return deploy ? ["dev","qa"] : [] ''']]], ] )]) {code} |
New:
Upgrading from 2.334 to 2.335 seems to cause this issue for us.
Prior to 2.335 clicking on the deploy parameter would populate the list of environments {code:java} properties([ parameters([ booleanParam(defaultValue: false, description: 'Check here to deploy the resulting package', name: 'deploy'), [$class: 'CascadeChoiceParameter', choiceType: 'PT_CHECKBOX', description: 'Select Environment', filterLength: 1, filterable: false, name: 'Deploy_Environment', referencedParameters: 'deploy', randomName: 'choice-parameter-24279069879311510', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], sandbox: false, script: ''], script: [classpath: [], sandbox: true, script: ''' return deploy ? ["dev","qa"] : [] ''']]], ] )]) {code} Plugin version: 2.6.0 |
Description |
Original:
Upgrading from 2.334 to 2.335 seems to cause this issue for us.
Prior to 2.335 clicking on the deploy parameter would populate the list of environments {code:java} properties([ parameters([ booleanParam(defaultValue: false, description: 'Check here to deploy the resulting package', name: 'deploy'), [$class: 'CascadeChoiceParameter', choiceType: 'PT_CHECKBOX', description: 'Select Environment', filterLength: 1, filterable: false, name: 'Deploy_Environment', referencedParameters: 'deploy', randomName: 'choice-parameter-24279069879311510', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], sandbox: false, script: ''], script: [classpath: [], sandbox: true, script: ''' return deploy ? ["dev","qa"] : [] ''']]], ] )]) {code} Plugin version: 2.6.0 |
New:
Upgrading from 2.334 to 2.335 seems to cause this issue for us (also tried 2.338 with same resutls)
Prior to 2.335 clicking on the deploy parameter would populate the list of environments {code:java} properties([ parameters([ booleanParam(defaultValue: false, description: 'Check here to deploy the resulting package', name: 'deploy'), [$class: 'CascadeChoiceParameter', choiceType: 'PT_CHECKBOX', description: 'Select Environment', filterLength: 1, filterable: false, name: 'Deploy_Environment', referencedParameters: 'deploy', randomName: 'choice-parameter-24279069879311510', script: [$class: 'GroovyScript', fallbackScript: [classpath: [], sandbox: false, script: ''], script: [classpath: [], sandbox: true, script: ''' return deploy ? ["dev","qa"] : [] ''']]], ] )]) {code} Plugin version: 2.6.0 |
Environment |
New:
jenkins 2.335+
active-choices-plugin 2.6.0 |
Priority | Original: Major [ 3 ] | New: Blocker [ 1 ] |
Link | New: This issue is related to JENKINS-68013 [ JENKINS-68013 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Related to JENKINS-68013 as per comment in that issue. When one or the other is fixed, we can confirm if the other is fixed too, and close it as duplicate.