-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Critical
-
Component/s: pipeline
-
Environment:Jenkins 2.19.3
Centos7
Oracle Java 1.8.0_60
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 "