With Jenkins 2 Pipeline plugin, there's a useful feature allowing a quick overview of the pipeline stages and status of steps, including logging output.
However, if you use the "Shell script" (sh) step, there doesn't seem to be a way to label that script with a useful name, so the display merely shows a long list of "Shell Script" (shown in the image below).
How can I assign a useful name, or how can I use some other step to accomplish the same effect?
Try this, a good workaround
Doesn't work for me,
It musst be:
https://stackoverflow.com/a/54787322/6847446