From c4c424a47442a3770a2f50046aa4d1f455fd3786 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe <luc@orekit.org> Date: Fri, 22 Feb 2019 08:27:40 +0100 Subject: [PATCH] Added net reports, including SpotBugs, to the Jenkins builds. --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9f688284..69e40fdf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,9 +40,11 @@ pipeline { archiveArtifacts artifacts: 'target/*.zip', fingerprint: true } } - checkstyle pattern: 'target/checkstyle-result.xml' - junit 'target/surefire-reports/*.xml' + junit testResults: '**/target/surefire-reports/*.xml' jacoco execPattern:'target/**.exec', classPattern: '**/classes', sourcePattern: '**/src/main/java' + recordIssues enabledForFailure: true, tools: [mavenConsole(), java(), javaDoc()] + recordIssues enabledForFailure: true, tool: checkStyle() + recordIssues enabledForFailure: true, tool: spotBugs() } } } -- GitLab