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

Support the visualization of two levels of parallelity in stages

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Support scripted parallel blocks in parallel stages in a declarative pipeline.

      Example pipeline:

      pipeline {
          agent none
          stages {
              stage('Parallel Stage') {
                  parallel {
                      stage('Stage 1') {
                          steps {
                              echo "Stage 1"
                          }
                      }
                      stage('Stage 2') {
                          steps {
                              script {
                                  parallel (
                                      "Stage 2.1.": {
                                          echo "Stage 2.1."
                                      },
                                      "Stage 2.2.": {
                                          echo "Stage 2.2."
                                      }
                                  )
                              }
                          }
                      }
                  }
              }
          }
      }
      

      Currently it is not properly visualized in blue ocean as shown in parallel-stages.png

       

      The idea how it should be visualized is shown in parallel-stages-new.png

        Attachments

        1. image-2019-12-18-10-50-54-224.png
          image-2019-12-18-10-50-54-224.png
          41 kB
        2. parallel-stages.PNG
          parallel-stages.PNG
          9 kB
        3. parallel-stages-new.png
          parallel-stages-new.png
          10 kB
        4. Screen Shot 2019-05-14 at 9.49.06 AM.png
          Screen Shot 2019-05-14 at 9.49.06 AM.png
          52 kB
        5. Screen Shot 2019-05-20 at 8.55.46 PM.png
          Screen Shot 2019-05-20 at 8.55.46 PM.png
          49 kB
        6. Selection_090.png
          Selection_090.png
          80 kB
        7. Selection_093.png
          Selection_093.png
          23 kB
        8. TwoPipelinesInParallel.png
          TwoPipelinesInParallel.png
          64 kB
        9. TwoPipelinesInSerial.png
          TwoPipelinesInSerial.png
          94 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kurzy Daniel Kurzynski
              Votes:
              125 Vote for this issue
              Watchers:
              130 Start watching this issue

                Dates

                Created:
                Updated: