diff --git a/Jenkinsfile b/Jenkinsfile index fe04156..9c6db5c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -91,7 +91,7 @@ EOF steps { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { withSonarQubeEnv('SonarQube') { - sh "mvn sonar:sonar -Drevision=${env.EFFECTIVE_MAJOR}.${env.EFFECTIVE_MINOR}.${env.BUILD_NUMBER} -Dsonar.projectKey=pdf-umbenenner -Dsonar.projectName='PDF KI Renamer' -Dsonar.coverage.jacoco.xmlReportPaths=**/jacoco-aggregate/jacoco.xml" + sh "mvn sonar:sonar -Drevision=${env.EFFECTIVE_MAJOR}.${env.EFFECTIVE_MINOR}.${env.BUILD_NUMBER} -Dsonar.projectKey=pdf-umbenenner -Dsonar.projectName='PDF KI Renamer'" } } } diff --git a/pom.xml b/pom.xml index a4284b4..3f31c3c 100644 --- a/pom.xml +++ b/pom.xml @@ -31,6 +31,9 @@ false (default) when running as part of the full multi-module build. --> false + + **/jacoco-aggregate/jacoco.xml + 21.0.2 2.23.1