From c8bb87270b3c9d257a4f979f5bf61a2e3d98d925 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Thu, 22 Sep 2022 23:03:30 +0200 Subject: [PATCH] using build_tag --- vars/agentsetup.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/agentsetup.groovy b/vars/agentsetup.groovy index 1fb1310..21cb7d0 100644 --- a/vars/agentsetup.groovy +++ b/vars/agentsetup.groovy @@ -21,7 +21,7 @@ def call(Map args) { idleMinutes: 0, defaultContainer: null // initialized to first container later on ] - args.label = env.JOB_NAME + args.label = env.BUILD_TAG if (env.STAGE_NAME) { args.label = args.label + "-" + env.STAGE_NAME } -- 2.31.1