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

Allow to configure additional pipeline workflow task description

XMLWordPrintable

      I'm working on new feature which will allow to configure additional pipeline workflow task description similar as we had in regular pipeline view.

      Syntax would looks like this:

      node {
         stage('A') {
             task(name: 'AA', description: 'foo') {
                 echo "Sparking the Big Bang..."
             }
         }
         stage('B') {
             task(name: 'BB', description: 'bar') {
                  echo "Cosmic inflation begins..."
             }
         }
      }
      

      Visualisation will looks like this:

      Task with single parameter will still be supported:

      node {
         stage('A') {
             task('AA') {
                 echo "Sparking the Big Bang..."
             }
         }
         stage('B') {
             task('BB') {
                  echo "Cosmic inflation begins..."
             }
         }
      }
      

      Similarly we can disable description appearance form edit view page.

            dawidmalina Dawid Malinowski
            dawidmalina Dawid Malinowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: