Skip to content

Commit e2e2191

Browse files
Use the globally defined variable to specify the github crendentials
1 parent d647887 commit e2e2191

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
pipeline {
33
agent { label 'build-zenoss-product' }
44
environment {
5-
GIT_CREDENTIAL_ID = '59439429-e8f4-442a-ace7-122701c36e2b'
65
ASSEMBLY_BRANCH = "${sh(returnStdout: true, script: "cat ASSEMBLY").trim()}"
76
}
87
stages {
@@ -15,7 +14,7 @@ pipeline {
1514
branches: [[name: ASSEMBLY_BRANCH]],
1615
extensions: [[$class: 'LocalBranch', localBranch: ASSEMBLY_BRANCH]],
1716
userRemoteConfigs: [[
18-
credentialsId: GIT_CREDENTIAL_ID,
17+
credentialsId: env.GLOBAL_GIT_CREDENTIAL_ID,
1918
url: 'https://github.com/zenoss/product-assembly'
2019
]]
2120
])

0 commit comments

Comments
 (0)