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

Distingush tests by stage and parallel

    Details

    • Similar Issues:
    • Sprint:
      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

      Description

      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'
          }
        }
      }
      

        Attachments

          Issue Links

            Activity

            jamesdumay James Dumay created issue -
            jamesdumay James Dumay made changes -
            Field Original Value New Value
            Epic Link JENKINS-43952 [ 181484 ]
            jamesdumay James Dumay made changes -
            Description *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}
            *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}
            jamesdumay James Dumay made changes -
            Attachment stage-parallel-tests.png [ 39253 ]
            jamesdumay James Dumay made changes -
            Attachment stage-parallel-tests.png [ 39254 ]
            jamesdumay James Dumay made changes -
            Description *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}
            *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}
            jamesdumay James Dumay made changes -
            Assignee Andrew Bayer [ abayer ]
            jamesdumay James Dumay made changes -
            Link This issue relates to JENKINS-27395 [ JENKINS-27395 ]
            jamesdumay James Dumay made changes -
            Description *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}
            *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}
            jamesdumay James Dumay made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jamesdumay James Dumay made changes -
            Summary Display stage that test run in on the test tab Distingush tests by stage and parallel
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2 [ 376 ] Blue Ocean 1.2, Blue Ocean 1.3 - beta 1 [ 376, 386 ]
            michaelneale Michael Neale made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2, Blue Ocean 1.3 [ 376, 386 ] Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1 [ 376, 386, 401 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1 [ 376, 386, 401 ] Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2 [ 376, 386, 401, 426 ]
            jamesdumay James Dumay made changes -
            Sprint Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 2 [ 376, 386, 401, 426 ] 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 [ 376, 386, 401, 416, 426 ]
            kshultz Karl Shultz made changes -
            Labels testing-notes-reviewed
            michaelneale Michael Neale made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            michaelneale Michael Neale made changes -
            Labels testing-notes-reviewed blueocean-classic testing-notes-reviewed
            jamesdumay James Dumay made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            jamesdumay James Dumay made changes -
            Status In Review [ 10005 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: