Skip to content

Commit

Permalink
[CI] Add stage name in the step (elastic#21887)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 16, 2020
1 parent 40f3c06 commit e152c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def target(Map args = [:]) {
// make commands use -C <folder> 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}")
}
}
}
Expand Down

0 comments on commit e152c01

Please sign in to comment.