• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Windows

      I have a fairly simple pipeline:

      parallel 'branch1': {
              node('node1') {
                  stage('Setup') {
                      checkout([details removed])
                  }
                  stage('Unit and Integration Tests') {
                      bat '"my command to execute tests"'
                  }
              }
      }, 'branch2': {
              node('node2') {
                  stage('Setup') {
                      checkout([details removed])
                  }
                  stage('Unit and Integration Tests') {
                      bat '"my command to execute tests"'
                  }
              }
      }
      

      It doesn't seem to render the branches properly and the first stage uses the first branch's name.

      Please see attachments. The blackouts are the branch names. I also removed the emailext step from the pipeline .

        1. snap.png
          snap.png
          77 kB
        2. Pipeline1.png
          Pipeline1.png
          16 kB
        3. Pipeline2.png
          Pipeline2.png
          11 kB
        4. Pipeline3.png
          Pipeline3.png
          16 kB

          [JENKINS-40458] Parallel pipeline not rendering properly

          Ching-Hwa Yu created issue -
          Ching-Hwa Yu made changes -
          Summary Original: Parallel pipeline not rendering New: Parallel pipeline not rendering properly
          Ching-Hwa Yu made changes -
          Description Original: I have a fairly simple pipeline:

          parallel 'branch1': {
                  node('node1') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }, 'branch2': {
                  node('node2') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }

          It doesn't seem to render the branches properly and the first stage uses the first branch's name.

          Please see attachments. The blackouts are the branch names.
          New: I have a fairly simple pipeline:

          parallel 'branch1': {
                  node('node1') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }, 'branch2': {
                  node('node2') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }

          It doesn't seem to render the branches properly and the first stage uses the first branch's name.

          Please see attachments. The blackouts are the branch names. I also removed the extemail step from the pipeline
          Ching-Hwa Yu made changes -
          Description Original: I have a fairly simple pipeline:

          parallel 'branch1': {
                  node('node1') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }, 'branch2': {
                  node('node2') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }

          It doesn't seem to render the branches properly and the first stage uses the first branch's name.

          Please see attachments. The blackouts are the branch names. I also removed the extemail step from the pipeline
          New: I have a fairly simple pipeline:

          parallel 'branch1': {
                  node('node1') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }, 'branch2': {
                  node('node2') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }

          It doesn't seem to render the branches properly and the first stage uses the first branch's name.

          Please see attachments. The blackouts are the branch names. I also removed the emailext step from the pipeline .
          James Dumay made changes -
          Description Original: I have a fairly simple pipeline:

          parallel 'branch1': {
                  node('node1') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }, 'branch2': {
                  node('node2') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }

          It doesn't seem to render the branches properly and the first stage uses the first branch's name.

          Please see attachments. The blackouts are the branch names. I also removed the emailext step from the pipeline .
          New: I have a fairly simple pipeline:

          {code}
          parallel 'branch1': {
                  node('node1') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }, 'branch2': {
                  node('node2') {
                      stage('Setup') {
                          checkout([details removed])
                      }
                      stage('Unit and Integration Tests') {
                          bat '"my command to execute tests"'
                      }
                  }
          }
          {code}

          It doesn't seem to render the branches properly and the first stage uses the first branch's name.

          Please see attachments. The blackouts are the branch names. I also removed the emailext step from the pipeline .
          James Dumay made changes -
          Link New: This issue duplicates JENKINS-39464 [ JENKINS-39464 ]
          James Dumay made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Dumay made changes -
          Attachment New: JENKINS-40458 #5 2016-12-15 10-04-01.png [ 35175 ]
          James Dumay made changes -
          Attachment New: snap.png [ 35176 ]
          James Dumay made changes -
          Attachment Original:  JENKINS-40458 #5 2016-12-15 10-04-01.png [ 35175 ]
          Jenn Briden made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Unassigned Unassigned
            chinghwayu Ching-Hwa Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: