diff --git a/Jenkinsfile b/Jenkinsfile index 63d9be616..6ee6b771e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,10 +40,8 @@ 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()