From cec7ab0ef2bb377a4ce00635e491f3553275e137 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Tue, 18 Feb 2025 03:04:42 +0800 Subject: [PATCH] fix(argo): invalid env ref for ArgoApplicationVersionUpdater Signed-off-by: zhenyus --- .../com/freeleaps/devops/ArgoApplicationVersionUpdater.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/src/com/freeleaps/devops/ArgoApplicationVersionUpdater.groovy b/first-class-pipeline/src/com/freeleaps/devops/ArgoApplicationVersionUpdater.groovy index c80c240d..956d2c77 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/ArgoApplicationVersionUpdater.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/ArgoApplicationVersionUpdater.groovy @@ -32,7 +32,7 @@ class ArgoApplicationVersionUpdater { steps.sh """ git config user.name "freeleaps-gitops-bot" git config user.email "gitops@mathmast.com" - git remote add ci_origin https://${OPS_GIT_USERNAME}:${OPS_GIT_PASSWORD}@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops + git remote add ci_origin https://${steps.env.OPS_GIT_USERNAME}:${steps.env.OPS_GIT_PASSWORD}@dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops git add ${valuesFile} git commit -m "ci(bump): bump ${component.name} image version for ${environmentSlug} to ${steps.env.BUILD_IMAGE_VERSION}" git push ci_origin HEAD:master