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
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 3m49s
This commit is contained in:
parent
a9330c59e6
commit
e4d5c24a9a
2 changed files with 4 additions and 1 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
3
pom.xml
3
pom.xml
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue