From: Erik Brakkee Date: Wed, 21 Sep 2022 19:32:38 +0000 (+0200) Subject: using BUILD_TAG now X-Git-Url: http://wamblee.org/gitweb/?p=pipelinelib;a=commitdiff_plain;h=4413e3b512476f6ab40e3fa96bfadee02dea48e0 using BUILD_TAG now --- diff --git a/vars/agentsetup.groovy b/vars/agentsetup.groovy index ffa1d36..1fb1310 100644 --- a/vars/agentsetup.groovy +++ b/vars/agentsetup.groovy @@ -17,7 +17,7 @@ def call(Map args) { def defaults = [ version: env.BRANCH_NAME, repo: env.CONTAINER_REGISTRY, - label: env.STAGE_NAME ? env.STAGE_NAME: env.JOB_NAME, + label: env.STAGE_NAME ? env.STAGE_NAME: env.BUILD_TAG, idleMinutes: 0, defaultContainer: null // initialized to first container later on ]