Skip to content

Commit

Permalink
[CI] Add stage name in the step (#21887)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Oct 16, 2020
1 parent 73dbb23 commit f936a45
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 @@ -220,7 +220,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 f936a45

Please sign in to comment.