From cafdceac309b0f7a5e4086daa6bdee2e18779f54 Mon Sep 17 00:00:00 2001 From: "michael.breu" <michael.breu@uibk.ac.at> Date: Fri, 26 Feb 2021 19:00:54 +0100 Subject: [PATCH] =?UTF-8?q?Erste=20komplett=20lauff=C3=A4hige=20Version=20?= =?UTF-8?q?:-)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index a226b536b..a8cb115c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,11 +23,11 @@ pipeline { stage('Evaluate') { steps { milestone 2 - junit(testResults: 'target/test-results/test/**', healthScaleFactor: 100) - jacoco(execPattern: 'target/jacoco/test.exec', inclusionPattern: '**/*.class', classPattern: 'target/classes', sourcePattern: 'src/main/java', sourceInclusionPattern: '**/*.java') + junit(testResults: 'target/test-results/test/**/*.xml', healthScaleFactor: 100) + jacoco(execPattern: 'target/jacoco/test.exec', sourcePattern: 'src/main/java', sourceInclusionPattern: '**/*.java') withSonarQubeEnv('SonarQube Production') { - sh "mvn -Dsonar.projectName=GitSearch -Dsonar.projectKey=GITSEARCH jacoco:report sonar:sonar" + sh "mvn -Dsonar.projectName=GitSearch -Dsonar.projectKey=GITSEARCH -Dsonar.coverage.jacoco.xmlReportPaths=target/jacoco/test/jacoco.xml jacoco:report sonar:sonar" } } -- GitLab