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') {
|
stage('Java 9') {
|
||||||
steps {
|
steps {
|
||||||
withMaven(maven: 'maven 3.5.2', jdk: 'JDK 9') {
|
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') {
|
stage('Test Results') {
|
||||||
steps {
|
steps {
|
||||||
junit '**/target/surefire-reports/*.xml'
|
junit '**/target/surefire-reports/*.xml'
|
||||||
|
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Archiving') {
|
stage('Archiving') {
|
||||||
|
@ -45,7 +46,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
stage('Quality') {
|
stage('Quality') {
|
||||||
steps {
|
steps {
|
||||||
jacoco exclusionPattern: '**/*{Test|IT|Main|Application|Immutable}.class'
|
pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '', unHealthy: ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Deploy') {
|
stage('Deploy') {
|
||||||
|
|
Loading…
Reference in a new issue