Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42624

Custom title for build steps

    XMLWordPrintable

Details

    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

          Activity

            zeenlym Yanis LISIMA created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-37324 [ JENKINS-37324 ]
            jamesdumay James Dumay made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            zeenlym Yanis LISIMA made changes -
            Resolution Duplicate [ 3 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            jamesdumay James Dumay made changes -
            Resolution Postponed [ 6 ]
            Status Reopened [ 4 ] Resolved [ 5 ]
            dindurthy Dharma Indurthy made changes -
            Resolution Postponed [ 6 ]
            Status Resolved [ 5 ] Reopened [ 4 ]

            People

              Unassigned Unassigned
              zeenlym Yanis LISIMA
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: