ci(forgejo-actions): set sonar.branch.name
All checks were successful
Build, test and publish the Quarkus libraries / build (push) Successful in 1m52s

This commit is contained in:
Jorge Bornhausen 2024-11-11 21:56:37 +01:00
parent edf55d14b4
commit f741faf285
Signed by: jorge.bornhausen
SSH key fingerprint: SHA256:X2ootOwvCeP4FoNfmVUFIKIbhq95tAgnt7Oqg3x+lfs

View file

@ -43,7 +43,7 @@ jobs:
env: env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
run: ./mvnw 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 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 -Dsonar.branch.name=${{ gitea.ref }}
- name: Upload libs to Gitea Maven Registry - name: Upload libs to Gitea Maven Registry
if: gitea.ref == 'refs/heads/main' if: gitea.ref == 'refs/heads/main'