From e47a8771699df72551c993d95ad759d2e9608f80 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sun, 19 Apr 2026 14:41:22 -0300 Subject: [PATCH] ci: resolve flux branch without Groovy dollar interpolation --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5cd513ef..47acd4f2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -156,7 +156,7 @@ PY script { env.FLUX_BRANCH = sh( returnStdout: true, - script: "awk '/branch:/{print \\$2; exit}' clusters/atlas/flux-system/gotk-sync.yaml" + script: "grep -m1 '^\\s*branch:' clusters/atlas/flux-system/gotk-sync.yaml | sed 's/^\\s*branch:\\s*//'" ).trim() if (!env.FLUX_BRANCH) { error('Flux branch not found in gotk-sync.yaml')