fixed maven for reporting

This commit is contained in:
anhefti 2024-03-05 11:26:53 +01:00
parent 3b96c11324
commit 04ad9da947

6
Jenkinsfile vendored
View file

@ -14,7 +14,7 @@ pipeline {
stages { stages {
stage('Maven build') { stage('Maven build') {
steps { steps {
withMaven(maven: 'Maven3.9.6', options: [findbugsPublisher(disabled: true)]) { withMaven(maven: 'Maven3.9.6') {
sh "mvn clean install -e -P let_reporting" sh "mvn clean install -e -P let_reporting"
} }
} }
@ -22,8 +22,8 @@ pipeline {
stage('Reporting') { stage('Reporting') {
steps { steps {
withMaven(maven: 'Maven3.9.6', options: [findbugsPublisher(disabled: true)]) { withMaven(maven: 'Maven3.9.6') {
sh "mvn --batch-mode -V -U -e -P let_reporting pmd:pmd pmd:cpd findbugs:findbugs" sh "mvn --batch-mode -V -U -e -P let_reporting pmd:pmd pmd:cpd spotbugs:spotbugs"
} }
} }
} }