ci(forgejo-actions): include jacoco reportPath on pom.xml
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 3m49s

This commit is contained in:
Jorge Bornhausen 2024-11-11 20:29:49 +01:00
parent a9330c59e6
commit e4d5c24a9a
Signed by: jorge.bornhausen
SSH key fingerprint: SHA256:X2ootOwvCeP4FoNfmVUFIKIbhq95tAgnt7Oqg3x+lfs
2 changed files with 4 additions and 1 deletions

View file

@ -37,7 +37,7 @@ jobs:
run: chmod +x mvnw
- name: Build and run tests
run: ./mvnw verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons -Dsonar.projectName='quarkus-commons' -Dsonar.coverage.jacoco.xmlReportPaths=../target/jacoco-report/jacoco.xml
run: ./mvnw verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=quarkus-commons
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

View file

@ -36,6 +36,9 @@
<!-- Test dependencies -->
<assertj-core.version>3.26.3</assertj-core.version>
<!-- SonarQube -->
<sonar.jacoco.reportPath>${project.basedir}/../target/jacoco-quarkus.exec</sonar.jacoco.reportPath>
</properties>
<distributionManagement>