Credentials parameters are not passed to jobs stored in pipeline parallel

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

XMLWordPrintable

      parallel (
      "stream1": {
      build job: "job1", parameters: [[$class: 'CredentialsParameterValue', description: 'credentials for git storage', name: 'GIT_CREDENTIALS', value: "${GIT_CREDENTIALS}"]]
      }
      "stream2": {
      build job: "job2", parameters: [[$class: 'CredentialsParameterValue', description: 'credentials for git storage', name: 'GIT_CREDENTIALS', value: "${GIT_CREDENTIALS}"]]
      }
      )

      This is the script example. Both job1 and job2 have GIT_CREDENTIALS parameter with Credentials type. job1 gets right GIT_CREDENTIALS from pipeline. job2 have a message in the parameter field " Not available to current user "

            Assignee:
            Unassigned
            Reporter:
            Viachaslau Kabak
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: