• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • active-choices-plugin
    • 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
       

        1. Screen Shot-console-working.png
          35 kB
          Krzysztof Mulica
        2. Screen Shot-console-broken.png
          16 kB
          Krzysztof Mulica
        3. Screen Shot 2022-03-11 at 10.14.16 AM.png
          21 kB
          Krzysztof Mulica
        4. Screen Shot 2022-03-11 at 10.18.50 AM.png
          21 kB
          Krzysztof Mulica

          [JENKINS-68012] CascadeChoiceParameter not rendering values

          Krzysztof Mulica created issue -
          Krzysztof Mulica made changes -
          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
           
          Krzysztof Mulica made changes -
          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
            
          Krzysztof Mulica made changes -
          Environment New: jenkins 2.335+
          active-choices-plugin 2.6.0
          Krzysztof Mulica made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Bruno P. Kinoshita made changes -
          Link New: This issue is related to JENKINS-68013 [ JENKINS-68013 ]
          Krzysztof Mulica made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Krzysztof Mulica made changes -
          Released As New: 2.6.3

            kinow Bruno P. Kinoshita
            krzysztof_m Krzysztof Mulica
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: