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
       

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

              Created:
              Updated:
              Resolved: