Browse code

Merge pull request #39719 from thaJeztah/junit_all_stages

Jenkinsfile: collect junit.xml for all architectures

Tibor Vass authored on 2019/08/14 07:09:24
Showing 1 changed files
... ...
@@ -121,6 +121,11 @@ pipeline {
121 121
                                   hack/test/unit
122 122
                                 '''
123 123
                             }
124
+                            post {
125
+                                always {
126
+                                    junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
127
+                                }
128
+                            }
124 129
                         }
125 130
                         stage("Validate vendor") {
126 131
                             steps {
... ...
@@ -164,7 +169,6 @@ pipeline {
164 164
                             '''
165 165
 
166 166
                             archiveArtifacts artifacts: 'unit-bundles.tar.gz'
167
-                            junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
168 167
                         }
169 168
                         cleanup {
170 169
                             sh 'make clean'
... ...
@@ -331,6 +335,11 @@ pipeline {
331 331
                                   hack/test/unit
332 332
                                 '''
333 333
                             }
334
+                            post {
335
+                                always {
336
+                                    junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
337
+                                }
338
+                            }
334 339
                         }
335 340
                         stage("Integration tests") {
336 341
                             environment { TEST_SKIP_INTEGRATION_CLI = '1' }
... ...
@@ -492,6 +501,11 @@ pipeline {
492 492
                                   hack/test/unit
493 493
                                 '''
494 494
                             }
495
+                            post {
496
+                                always {
497
+                                    junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
498
+                                }
499
+                            }
495 500
                         }
496 501
                         stage("Integration tests") {
497 502
                             environment { TEST_SKIP_INTEGRATION_CLI = '1' }