fix(ci): update Jenkinsfile to use GIT_CREDENTIALS for remote origin
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
d25ec93e77
commit
ed9254bbba
2
magicleaps/alpha/ci/Jenkinsfile
vendored
2
magicleaps/alpha/ci/Jenkinsfile
vendored
@ -124,7 +124,7 @@ pipeline {
|
||||
sh """
|
||||
git config user.name "zhenyus"
|
||||
git config user.email "zhenyus@mathmast.com"
|
||||
git remote add ci_origin https://freeleaps@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops
|
||||
git remote add ci_origin https://zhenyus:${GIT_CREDENTIALS}@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops
|
||||
git add ${valuesFile}
|
||||
git commit -m "ci(bot-auto-bump): bump ${APP_NAME} image tags for alpha to ${TAG_PREFIX}-${env.COMMIT_HASH}-linux-amd64"
|
||||
git push ci_origin HEAD:master
|
||||
|
||||
Loading…
Reference in New Issue
Block a user