From 50c51d3e6fcb30ae6979cc637ad6a78a8d042842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Waldemar=20=C5=BBurowski?= <45210402+wzur-r3@users.noreply.github.com> Date: Tue, 21 Jul 2020 15:42:57 +0100 Subject: [PATCH 1/3] Empty JUnit results are not allowed (#6488) --- .ci/dev/nightly-regression/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/dev/nightly-regression/Jenkinsfile b/.ci/dev/nightly-regression/Jenkinsfile index 7dd4301440..303bd722a9 100644 --- a/.ci/dev/nightly-regression/Jenkinsfile +++ b/.ci/dev/nightly-regression/Jenkinsfile @@ -56,7 +56,7 @@ pipeline { post { always { archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false - junit testResults: '**/build/test-results-xml/**/*.xml', allowEmptyResults: true + junit testResults: '**/build/test-results-xml/**/*.xml' } cleanup { deleteDir() /* clean up our workspace */ From 7437630d56b0e846e7ec3b233f294466c5ab589d Mon Sep 17 00:00:00 2001 From: Waldemar Zurowski <waldemar.zurowski@r3.com> Date: Tue, 21 Jul 2020 15:50:21 +0100 Subject: [PATCH 2/3] Empty JUnit results are not allowed --- .ci/dev/mswin/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/dev/mswin/Jenkinsfile b/.ci/dev/mswin/Jenkinsfile index b0e3766e0c..714fadf4fb 100644 --- a/.ci/dev/mswin/Jenkinsfile +++ b/.ci/dev/mswin/Jenkinsfile @@ -65,7 +65,7 @@ pipeline { post { always { archiveArtifacts allowEmptyArchive: true, artifacts: '**/logs/**/*.log' - junit testResults: '**/build/test-results/**/*.xml', keepLongStdio: true, allowEmptyResults: true + junit testResults: '**/build/test-results/**/*.xml', keepLongStdio: true bat '.ci/kill_corda_procs.cmd' } cleanup { @@ -87,7 +87,7 @@ pipeline { post { always { archiveArtifacts allowEmptyArchive: true, artifacts: '**/logs/**/*.log' - junit testResults: '**/build/test-results/**/*.xml', keepLongStdio: true, allowEmptyResults: true + junit testResults: '**/build/test-results/**/*.xml', keepLongStdio: true bat '.ci/kill_corda_procs.cmd' } cleanup { From 5ee262653007551031a60011dc16b8c01c3fb840 Mon Sep 17 00:00:00 2001 From: Waldemar Zurowski <waldemar.zurowski@r3.com> Date: Tue, 21 Jul 2020 15:55:56 +0100 Subject: [PATCH 3/3] Empty JUnit results are not allowed --- .ci/dev/compatibility/JenkinsfileJDK11Azul | 2 +- .ci/dev/regression/Jenkinsfile | 2 +- Jenkinsfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/dev/compatibility/JenkinsfileJDK11Azul b/.ci/dev/compatibility/JenkinsfileJDK11Azul index d24a3f7ac4..1dd3b40043 100644 --- a/.ci/dev/compatibility/JenkinsfileJDK11Azul +++ b/.ci/dev/compatibility/JenkinsfileJDK11Azul @@ -153,7 +153,7 @@ pipeline { post { always { archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false - junit testResults: '**/build/test-results-xml/**/*.xml', allowEmptyResults: true + junit testResults: '**/build/test-results-xml/**/*.xml' } cleanup { deleteDir() /* clean up our workspace */ diff --git a/.ci/dev/regression/Jenkinsfile b/.ci/dev/regression/Jenkinsfile index 9af46eba66..8de096bccf 100644 --- a/.ci/dev/regression/Jenkinsfile +++ b/.ci/dev/regression/Jenkinsfile @@ -177,7 +177,7 @@ pipeline { post { always { archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false - junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true, allowEmptyResults: true + junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true script { try { diff --git a/Jenkinsfile b/Jenkinsfile index c27f461148..c96e217de3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,7 +79,7 @@ pipeline { post { always { archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false - junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true, allowEmptyResults: true + junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true } cleanup { deleteDir() /* clean up our workspace */