Support the visualization of two levels of parallelity in stages

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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

        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

            Assignee:
            Unassigned
            Reporter:
            Daniel Kurzynski
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: