Not able to see parameters

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Trevor Major
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: