The plugin stoped propagate Job params to scriptler script after upgrade to 2.7

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

XMLWordPrintable

      We used the plugin via DSL

      Example
        [$class: 'CascadeChoiceParameter', choiceType: 'PT_SINGLE_SELECT', name: 'HELM_CHART_VERSION', referencedParameters: 'LOAD_OLDER_VERSIONS', script: [ $class: 'ScriptlerScript', scriptlerScriptId:'somescript.groovy', parameters: [
                [name:'repo_API_URL', value: constructedRepoApiUrl] ]
                 ]]

      Inside the scriptler script we are using also some parameters from the job.
      The parametres always were propagated to the script despite the setting "Propagate Job params to script"
      After upgrading to 2.7 it sopped working

      Unfortunately I can't also find anyway how to set this setting "Propagate Job params to script" via DSL. 
      If I set the setting in GUI, it's cleared again after the job runs.

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            Alex
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: