From 4413e3b512476f6ab40e3fa96bfadee02dea48e0 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Wed, 21 Sep 2022 21:32:38 +0200 Subject: [PATCH] using BUILD_TAG now --- vars/agentsetup.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ] -- 2.31.1