diff --git a/Jenkinsfile b/Jenkinsfile index c8912680..d8f5b043 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ pipeline { stages { stage('Maven build') { steps { - withMaven(maven: 'Maven3.9.6', options: [findbugsPublisher(disabled: true)]) { + withMaven(maven: 'Maven3.9.6') { sh "mvn clean install -e -P let_reporting" } } @@ -22,8 +22,8 @@ pipeline { stage('Reporting') { steps { - 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" + withMaven(maven: 'Maven3.9.6') { + sh "mvn --batch-mode -V -U -e -P let_reporting pmd:pmd pmd:cpd spotbugs:spotbugs" } } }