diff --git a/Jenkinsfile b/Jenkinsfile index 25109e2bc7759..977ffe40e8cc2 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 }