using BUILD_TAG now
authorErik Brakkee <erik@brakkee.org>
Wed, 21 Sep 2022 19:32:38 +0000 (21:32 +0200)
committerErik Brakkee <erik@brakkee.org>
Wed, 21 Sep 2022 19:32:38 +0000 (21:32 +0200)
vars/agentsetup.groovy

index ffa1d36b3a0fdf1db92599f473a0e37597acc897..1fb1310273407eee1b8138a2fdb99ef1a64f245f 100644 (file)
@@ -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
   ]