From 882fb6f93fa5a82be2889de89a3b072f3f2e915b Mon Sep 17 00:00:00 2001 From: Christopher Carney <78053393+Carthanial@users.noreply.github.com> Date: Thu, 4 Nov 2021 17:19:42 -0400 Subject: [PATCH] Fix/Functional Test JUnit Reporting (#23) * Fixed Functional Test JUnit Reporting --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 25109e2bc775..977ffe40e8cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -82,10 +82,11 @@ node { stage('Functional Test') { echo "Starting functional test..." functionalDynamicParallelSteps(testImage); - junit 'target/junit/ci*/*.xml' + junit 'target/junit/ci* *.xml' } } catch (e) { echo 'This will run only if failed' + junit 'target/junit/**/*.xml' currentBuild.result = 'FAILURE' throw e }