using build_tag
[pipelinelib] / 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
   }