diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 997d8a1..5b711b4 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -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') {