diff --git a/vars/edgeXBuildGoParallel.groovy b/vars/edgeXBuildGoParallel.groovy index 3bada966..93cbaacc 100644 --- a/vars/edgeXBuildGoParallel.groovy +++ b/vars/edgeXBuildGoParallel.groovy @@ -274,7 +274,7 @@ def call(config) { when { beforeAgent true allOf { - expression { not { env.GIT_BRANCH ==~ /^PR-*/ } } + expression { not { env.GIT_BRANCH =~ /^PR-.*/ } } expression { edgex.nodeExists(config, 'arm64') } } }