Merge pull request #21 from kemitix/pmd-reporting
jenkins: add pmd reporting
This commit is contained in:
commit
89a053f8e6
1 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,7 @@ pipeline {
|
|||
stage('Java 9') {
|
||||
steps {
|
||||
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
|
||||
sh 'mvn clean install'
|
||||
sh "${mvn} clean install"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,6 +36,7 @@ pipeline {
|
|||
stage('Test Results') {
|
||||
steps {
|
||||
junit '**/target/surefire-reports/*.xml'
|
||||
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
|
||||
}
|
||||
}
|
||||
stage('Archiving') {
|
||||
|
@ -45,7 +46,7 @@ pipeline {
|
|||
}
|
||||
stage('Quality') {
|
||||
steps {
|
||||
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
|
||||
pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
|
|
Loading…
Reference in a new issue