-
New Feature
-
Resolution: Fixed
-
Major
-
-
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.
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' } } }
- relates to
-
JENKINS-27395 distinguish test reports filed from different parts of workflow
-
- Resolved
-
[JENKINS-46166] Distingush tests by stage and parallel
Epic Link | New: JENKINS-43952 [ 181484 ] |
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} |
Attachment | Original: stage-parallel-tests.png [ 39253 ] |
Attachment | New: stage-parallel-tests.png [ 39254 ] |
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} |
Assignee | New: Andrew Bayer [ abayer ] |
Link |
New:
This issue relates to |
Came here from
JENKINS-27395. This would work for me. All of the differences in my tests are already covered by stages so I'd just need to adapt the naming slightly.In your example, all four sets of failing tests are prefixed with 'Browser Tests', but I don't see where that's introduced in the pipeline script?Fixed.Is there any likelihood of getting a similar feature to this in the classic Jenkins Test Result pages? There are still a lot of features missing from the Blue Ocean view and I've not seen any comments that suggests that it'll get parity. Apologies if this is documented somewhere.