Skip to content

Commit

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

Please sign in to comment.