fixed maven for reporting
This commit is contained in:
parent
8e115d26d0
commit
3b96c11324
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue