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

Support the visualization of two levels of parallelity in stages

    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

          Issue Links

            Activity

            kurzy Daniel Kurzynski created issue -
            kurzy Daniel Kurzynski made changes -
            Field Original Value New Value
            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
            Support scripted parallel blocks in parallel stages in a declarative pipeline.

            Example pipeline:
            {code:java}
            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."
                                            }
                                        )
                                    }
                                }
                            }
                        }
                    }
                }
            }
            {code}

            Currently it is not properly visualized in blue ocean as shown in parallel-stages.png
            kurzy Daniel Kurzynski made changes -
            Attachment parallel-stages-new.png [ 44753 ]
            kurzy Daniel Kurzynski made changes -
            Description Support scripted parallel blocks in parallel stages in a declarative pipeline.

            Example pipeline:
            {code:java}
            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."
                                            }
                                        )
                                    }
                                }
                            }
                        }
                    }
                }
            }
            {code}

            Currently it is not properly visualized in blue ocean as shown in parallel-stages.png
            Support scripted parallel blocks in parallel stages in a declarative pipeline.

            Example pipeline:
            {code:java}
            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."
                                            }
                                        )
                                    }
                                }
                            }
                        }
                    }
                }
            }
            {code}
            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
            kurzy Daniel Kurzynski made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            philsegal Phil Segal made changes -
            Assignee Phil Segal [ philsegal ]
            philsegal Phil Segal made changes -
            Assignee Phil Segal [ philsegal ]
            kurzy Daniel Kurzynski made changes -
            Link This issue is related to JENKINS-50532 [ JENKINS-50532 ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-38442 [ JENKINS-38442 ]
            rthakkar Rishi Thakkar made changes -
            rthakkar Rishi Thakkar made changes -
            rthakkar Rishi Thakkar made changes -
            Priority Critical [ 2 ] Blocker [ 1 ]
            shanidar1 Shani Dar made changes -
            Attachment image-2019-12-18-10-50-54-224.png [ 49808 ]
            shanidar1 Shani Dar made changes -
            Attachment Selection_090.png [ 49809 ]
            shanidar1 Shani Dar made changes -
            Attachment Selection_093.png [ 49810 ]
            batmat Baptiste Mathus made changes -
            Summary Support two levels of parallelity in stages Support the visualization of two levels of parallelity in stages

              People

              • Assignee:
                Unassigned
                Reporter:
                kurzy Daniel Kurzynski
              • Votes:
                111 Vote for this issue
                Watchers:
                114 Start watching this issue

                Dates

                • Created:
                  Updated: