Merge pull request #21 from kemitix/pmd-reporting

jenkins: add pmd reporting
This commit is contained in:
Paul Campbell 2018-03-06 21:58:24 +00:00 committed by GitHub
commit 89a053f8e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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') {