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

Not able to see parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • active-choices-plugin
    • None
    • Jenkins v2.401.2 LTS, Active Choices Plug-in v2.7

      We are experiencing issues with parameters no longer appearing.

      Fix was to downgrade the Active Choices Plug-in back to version 2.65.

       

      Jenkins:   2.401.2 LTS
      Active Choices Plug-in:  2.7

       

      Pipeline code:

      separator(name: "ENV_CHOICE", sectionHeader: "IAC Environment"),
                                  choice(choices: "\n${cmn.listToChoices(cmn.currentAllowedTargetEnvs())}", name: 'targetEnv', description: 'Environment to deploy updates'),
                                  [$class: 'CascadeChoiceParameter', choiceType: 'PT_SINGLE_SELECT', name: 'masterConfEnv', referencedParameters: 'targetEnv',
                                      script:
                                          [$class: 'GroovyScript', fallbackScript: [classpath: [], script: "return []"],
                                          script: [classpath: [], sandbox: true, script: cmn.activeChoicesEnvsToMastersScript(cmn.currentAllowedTargetEnvs(),cmn.currentAllowedTargetEnvs(),'targetEnv',false,true) ]
                                      ]
                                  ],

       

      Error:

      Note: Unlike JENKINS-71706 we are not setting Jenkins CSP headers but we are using a Resource Root URL

            kinow Bruno P. Kinoshita
            tmajor Trevor Major
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: