• Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2

      Scope

      • Prefix the test name with the Path to the stage or parallel the test was run in
      • This should have a unit test (at least)
      • Check that the sort works correctly and the failures on the same "path" are grouped

      Note
      There are other ways of displaying this data except they will all need some design work done. We don't have the capacity for this, so we will do the minimum here.

      Example

      Jenkinsfile

      stage ('Browser Tests') {
        parallel {
          stage ('Firefox') {
            sh 'mvn test'
          }
          stage ('Chrome') {
            sh 'mvn test'
          }
          stage ('Safari') {
            sh 'mvn test'
          }
          stage ('Internet Explorer') {
            sh 'mvn test'
          }
        }
      }
      

          [JENKINS-46166] Distingush tests by stage and parallel

          James Dumay created issue -
          James Dumay made changes -
          Epic Link New: JENKINS-43952 [ 181484 ]
          James Dumay made changes -
          Description Original: *Scope*
          * Prefix the test name with the Path to the stage or parallel the test was run in

          *Example*
          !stage-parallel-tests.png|thumbnail!

          *Jenkinsfile*
          {code}
          stage ('Stage') {
            parallel {
              stage ('Firefox') {
                sh 'mvn test'
              }
              stage ('Chrome') {
                sh 'mvn test'
              }
              stage ('Safari') {
                sh 'mvn test'
              }
              stage ('Internet Explorer') {
                sh 'mvn test'
              }
            }
          }
          {code}
          New: *Scope*
          * Prefix the test name with the Path to the stage or parallel the test was run in
          * This should have a unit test (at least)
          * Check that the sort works correctly

          *Example*
          !stage-parallel-tests.png|thumbnail!

          *Jenkinsfile*
          {code}
          stage ('Stage') {
            parallel {
              stage ('Firefox') {
                sh 'mvn test'
              }
              stage ('Chrome') {
                sh 'mvn test'
              }
              stage ('Safari') {
                sh 'mvn test'
              }
              stage ('Internet Explorer') {
                sh 'mvn test'
              }
            }
          }
          {code}
          James Dumay made changes -
          Attachment Original: stage-parallel-tests.png [ 39253 ]
          James Dumay made changes -
          Attachment New: stage-parallel-tests.png [ 39254 ]
          James Dumay made changes -
          Description Original: *Scope*
          * Prefix the test name with the Path to the stage or parallel the test was run in
          * This should have a unit test (at least)
          * Check that the sort works correctly

          *Example*
          !stage-parallel-tests.png|thumbnail!

          *Jenkinsfile*
          {code}
          stage ('Stage') {
            parallel {
              stage ('Firefox') {
                sh 'mvn test'
              }
              stage ('Chrome') {
                sh 'mvn test'
              }
              stage ('Safari') {
                sh 'mvn test'
              }
              stage ('Internet Explorer') {
                sh 'mvn test'
              }
            }
          }
          {code}
          New: *Scope*
          * Prefix the test name with the Path to the stage or parallel the test was run in
          * This should have a unit test (at least)
          * Check that the sort works correctly and the failures on the same "path" are grouped

          *Note*
          There are other ways of displaying this data except they will all need some design work done. We don't have the capacity for this, so we will do the minimum here.

          *Example*
          !stage-parallel-tests.png|thumbnail!

          *Jenkinsfile*
          {code}
          stage ('Stage') {
            parallel {
              stage ('Firefox') {
                sh 'mvn test'
              }
              stage ('Chrome') {
                sh 'mvn test'
              }
              stage ('Safari') {
                sh 'mvn test'
              }
              stage ('Internet Explorer') {
                sh 'mvn test'
              }
            }
          }
          {code}
          James Dumay made changes -
          Assignee New: Andrew Bayer [ abayer ]
          James Dumay made changes -
          Link New: This issue relates to JENKINS-27395 [ JENKINS-27395 ]
          James Dumay made changes -
          Description Original: *Scope*
          * Prefix the test name with the Path to the stage or parallel the test was run in
          * This should have a unit test (at least)
          * Check that the sort works correctly and the failures on the same "path" are grouped

          *Note*
          There are other ways of displaying this data except they will all need some design work done. We don't have the capacity for this, so we will do the minimum here.

          *Example*
          !stage-parallel-tests.png|thumbnail!

          *Jenkinsfile*
          {code}
          stage ('Stage') {
            parallel {
              stage ('Firefox') {
                sh 'mvn test'
              }
              stage ('Chrome') {
                sh 'mvn test'
              }
              stage ('Safari') {
                sh 'mvn test'
              }
              stage ('Internet Explorer') {
                sh 'mvn test'
              }
            }
          }
          {code}
          New: *Scope*
          * Prefix the test name with the Path to the stage or parallel the test was run in
          * This should have a unit test (at least)
          * Check that the sort works correctly and the failures on the same "path" are grouped

          *Note*
          There are other ways of displaying this data except they will all need some design work done. We don't have the capacity for this, so we will do the minimum here.

          *Example*
          !stage-parallel-tests.png|thumbnail!

          *Jenkinsfile*
          {code}
          stage ('Browser Tests') {
            parallel {
              stage ('Firefox') {
                sh 'mvn test'
              }
              stage ('Chrome') {
                sh 'mvn test'
              }
              stage ('Safari') {
                sh 'mvn test'
              }
              stage ('Internet Explorer') {
                sh 'mvn test'
              }
            }
          }
          {code}
          James Dumay made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          James Dumay made changes -
          Summary Original: Display stage that test run in on the test tab New: Distingush tests by stage and parallel

            abayer Andrew Bayer
            jamesdumay James Dumay
            Votes:
            4 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: