From: Erik Brakkee Date: Thu, 22 Sep 2022 21:03:30 +0000 (+0200) Subject: using build_tag X-Git-Url: http://wamblee.org/gitweb/?p=pipelinelib;a=commitdiff_plain;h=c8bb87270b3c9d257a4f979f5bf61a2e3d98d925 using build_tag --- 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 }