From ed9254bbba6091ac2cf01b8c267d547acc124789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Mon, 30 Dec 2024 18:14:56 +0800 Subject: [PATCH] fix(ci): update Jenkinsfile to use GIT_CREDENTIALS for remote origin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- magicleaps/alpha/ci/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magicleaps/alpha/ci/Jenkinsfile b/magicleaps/alpha/ci/Jenkinsfile index 218c8c85..9618456f 100644 --- a/magicleaps/alpha/ci/Jenkinsfile +++ b/magicleaps/alpha/ci/Jenkinsfile @@ -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