From e2f5b78e780f2ad0d69f7abdfdada17a0ff66bb2 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 11 Aug 2019 15:15:55 +0200 Subject: [PATCH] Jenkinsfile: collect junit.xml for all architectures Jenkins groups them per stage, so collecting them for all architectures is possible (without them conflicting or becoming ambiguous) Signed-off-by: Sebastiaan van Stijn --- Jenkinsfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index e7757b4996..7269135415 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -335,6 +335,11 @@ pipeline { hack/test/unit ''' } + post { + always { + junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true + } + } } stage("Integration tests") { environment { TEST_SKIP_INTEGRATION_CLI = '1' } @@ -496,6 +501,11 @@ pipeline { hack/test/unit ''' } + post { + always { + junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true + } + } } stage("Integration tests") { environment { TEST_SKIP_INTEGRATION_CLI = '1' }