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') {
|
stage('Reporting') {
|
||||||
steps {
|
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"
|
sh "mvn --batch-mode -V -U -e -P let_reporting pmd:pmd pmd:cpd findbugs:findbugs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ pipeline {
|
||||||
always {
|
always {
|
||||||
junit testResults: '**/target/surefire-reports/TEST-*.xml'
|
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')
|
recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml')
|
||||||
}
|
}
|
||||||
failure {
|
failure {
|
||||||
|
|
Loading…
Reference in a new issue