Skip to content

Commit

Permalink
fix: sonarqube coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev committed Aug 27, 2024
1 parent 86122b6 commit a82873b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,11 @@
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit a82873b

Please sign in to comment.