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

Allow to configure additional pipeline workflow task description

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Show
          dawidmalina Dawid Malinowski added a comment - https://github.com/Diabol/delivery-pipeline-plugin/pull/312

            People

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

              Dates

              Created:
              Updated: