fixed maven for reporting
This commit is contained in:
parent
3b96c11324
commit
04ad9da947
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue