From a82873bd100db6dab5cd78aa33a8353651743c4d Mon Sep 17 00:00:00 2001 From: Sergey Grigoriev Date: Tue, 27 Aug 2024 11:57:53 +0200 Subject: [PATCH] fix: sonarqube coverage --- .github/workflows/maven-build.yml | 2 +- pom.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index e87551b..6bc15a6 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -105,7 +105,7 @@ jobs: # Build with Maven - name: 📦 Build with Maven - run: mvn --batch-mode clean package sonar:sonar + run: mvn --batch-mode clean package sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=$(pwd)/app/target/site/jacoco/jacoco.xml outputs: project_version: ${{ steps.project_version.outputs.project_version }} cache_key: ${{ steps.cache_key.outputs.cache_key }} diff --git a/pom.xml b/pom.xml index d1b7172..2170b95 100644 --- a/pom.xml +++ b/pom.xml @@ -668,6 +668,11 @@ report + + + XML + +