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 19, 2020
1 parent 142c70a commit aef0ef0
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 @@ -206,7 +206,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 aef0ef0

Please sign in to comment.