From 84ba39ff647f0ee5efebb065e1bad19f6df28198 Mon Sep 17 00:00:00 2001 From: zhenyus Date: Tue, 18 Feb 2025 06:12:22 +0800 Subject: [PATCH] fix(argo): invalid env ref for ArgoApplicationVersionUpdater Signed-off-by: zhenyus --- .../src/com/freeleaps/devops/SemanticReleasingExecutor.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy index 03870241..6481e398 100644 --- a/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy +++ b/first-class-pipeline/src/com/freeleaps/devops/SemanticReleasingExecutor.groovy @@ -26,7 +26,7 @@ class SemanticReleasingExecutor { steps.dir(steps.env.workroot) { steps.withCredentials([steps.usernamePassword(credentialsId: credentialsId, passwordVariable: 'GIT_PASSWORD', usernameVariable: 'GIT_USERNAME')]) { steps.env.GIT_CREDENTIALS = "${steps.env.GIT_USERNAME}:${steps.env.GIT_PASSWORD}"- - steps.env.GIT_BRANCH = branch + steps.env.GIT_BRANCH = "${branch}" steps.log.info("SemanticReleasingExecutor", "Installing semantic-release requirements...") steps.sh "apt-get -y update && apt-get install -y --no-install-recommends git apt-transport-https ca-certificates curl wget gnupg" steps.writeFile file: '.releaserc.json', text: steps.libraryResource(config)