From 09b238d9c34d52b0bc678ff61ebb79992c9128d4 Mon Sep 17 00:00:00 2001 From: anhefti Date: Mon, 28 Mar 2022 13:36:08 +0200 Subject: [PATCH] jenkins fix --- Jenkinsfile | 4 +--- pom.xml | 11 +++++++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c80eb94a..1218dd96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { stage('Reporting') { steps { - sh '${M2_HOME}/bin/mvn --batch-mode -V -U -e checkstyle:checkstyle pmd:pmd pmd:cpd findbugs:findbugs spotbugs:spotbugs' + sh '${M2_HOME}/bin/mvn --batch-mode -V -U -e pmd:pmd pmd:cpd findbugs:findbugs spotbugs:spotbugs' } } } @@ -31,8 +31,6 @@ pipeline { always { junit testResults: '**/target/surefire-reports/TEST-*.xml' - recordIssues enabledForFailure: true, tools: [mavenConsole(), java(), javaDoc()] - recordIssues enabledForFailure: true, tool: checkStyle() recordIssues enabledForFailure: true, tool: spotBugs() recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') } diff --git a/pom.xml b/pom.xml index 5c455a7c..b725125c 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ - + com.github.spotbugs spotbugs-maven-plugin 4.5.3.0 + + Max + false + Low + true + findbugs-excludes.xml +