From 4eacb01552d5afe12b4fb4102f6c2c57f7c90f28 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 19 Oct 2020 08:43:18 +0100 Subject: [PATCH] [CI] Add stage name in the step (#21887) (#21916) --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index de53bbc9412f..be84b9fbf23c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -207,7 +207,7 @@ def target(Map args = [:]) { // make commands use -C while mage commands require the dir(folder) // let's support this scenario with the location variable. dir(isMage ? directory : '') { - cmd(label: "${command}", script: "${command}") + cmd(label: "${args.id?.trim() ? args.id : env.STAGE_NAME} - ${command}", script: "${command}") } } }