Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68012

CascadeChoiceParameter not rendering values

XMLWordPrintable

    • 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 2022-03-11 at 10.14.16 AM.png
          21 kB
          Krzysztof Mulica
        2. Screen Shot 2022-03-11 at 10.18.50 AM.png
          21 kB
          Krzysztof Mulica
        3. Screen Shot-console-broken.png
          16 kB
          Krzysztof Mulica
        4. Screen Shot-console-working.png
          35 kB
          Krzysztof Mulica

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

              Created:
              Updated:
              Resolved: