using build_tag
authorErik Brakkee <erik@brakkee.org>
Thu, 22 Sep 2022 21:03:30 +0000 (23:03 +0200)
committerErik Brakkee <erik@brakkee.org>
Thu, 22 Sep 2022 21:03:30 +0000 (23:03 +0200)
vars/agentsetup.groovy

index 1fb1310273407eee1b8138a2fdb99ef1a64f245f..21cb7d095cb31d77ff9387589f8b0312c4e26d84 100644 (file)
@@ -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
   }