From 9110e23a56e12a863bb4b1aa01aac4f09079f9df Mon Sep 17 00:00:00 2001 From: Cherry Wang Date: Mon, 26 Aug 2024 15:06:49 +0800 Subject: [PATCH] fix: Replace BRANCH_NAME with GIT_BRANCH in edgeXBuildGoParallel Signed-off-by: Cherry Wang --- vars/edgeXBuildGoParallel.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/edgeXBuildGoParallel.groovy b/vars/edgeXBuildGoParallel.groovy index 93db98d3..3bada966 100644 --- a/vars/edgeXBuildGoParallel.groovy +++ b/vars/edgeXBuildGoParallel.groovy @@ -274,7 +274,7 @@ def call(config) { when { beforeAgent true allOf { - expression { not { env.BRANCH_NAME ==~ /^PR-*/ } } + expression { not { env.GIT_BRANCH ==~ /^PR-*/ } } expression { edgex.nodeExists(config, 'arm64') } } }