diff --git a/Jenkinsfile b/Jenkinsfile index 1aec98ee3..63d9be616 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,7 +40,10 @@ pipeline { body: "Build ${env.BUILD_URL} failed." } always { - junit allowEmptyResults: true testResults: '**/target/surefire-reports/*.xml' + junit { + allowEmptyResults: true + testResults: '**/target/surefire-reports/*.xml' + } recordIssues enabledForFailure: true, tools: [java(), javaDoc()] recordIssues enabledForFailure: false, tool: spotBugs()