Details
-
Type:
New Feature
-
Status: Reopened (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: blueocean-plugin, pipeline
-
Labels:None
-
Similar Issues:
Description
Hi,
Is it possible to add custom title for steps in Jenkinsfile. Theses titles would improve readability in build steps logs and blue ocean plugins.
I was thinkings of something like this :
node { stage('aStage'){ checkout scm @Step(title='List files') sh 'ls -l' @Step(title='Do something') aStep 'do something' } }
See images for visualisations
Add titles to steps make it easy to understand what is done in each step in a team.
Attachments
Issue Links
- duplicates
-
JENKINS-37324 We would like a more meaningful description of a step
-
- Closed
-
Time to reopen it? Having it as closed prevents people from voting it.
I find that really useful but I suggest a different implementation that does not add so much verbosity to pipeline scripts. Just add a "title" or "name" parameter to the the "step" class and that's all.