Declarative pipeline parameters default values are not loaded at first job run

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

XMLWordPrintable

      We have github organization folder with Jenkinsfile with declerative pipeline. We use parameters in theĀ Jenkinsfile like:

      parameters {
      Ā  string(defaultValue: 'eu-west-1', description: 'The AWS region', name: 'awsRegion')
      }

      First build always fails as the parameters are not getting initialized with default values . All following builds for the same PR work with parametersĀ getting theĀ default values.

      Ā 

            Assignee:
            Unassigned
            Reporter:
            Moshe Nadler
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: