From 3b96c11324e335edc0a04af8bfcf4ac1ee85ddd3 Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 5 Mar 2024 10:37:28 +0100 Subject: [PATCH] fixed maven for reporting --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e2fa809f..c8912680 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,7 @@ pipeline { stage('Reporting') { steps { - withMaven(maven: 'Maven', options: [findbugsPublisher(disabled: true)]) { + withMaven(maven: 'Maven3.9.6', options: [findbugsPublisher(disabled: true)]) { sh "mvn --batch-mode -V -U -e -P let_reporting pmd:pmd pmd:cpd findbugs:findbugs" } } @@ -33,7 +33,7 @@ pipeline { always { junit testResults: '**/target/surefire-reports/TEST-*.xml' - //recordIssues enabledForFailure: true, tool: spotBugs() + recordIssues enabledForFailure: true, tool: spotBugs() recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml') } failure {