Skip to content

Commit

Permalink
Add branch to sonar execution
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-strzelecki-vml committed Oct 18, 2024
1 parent 4b4b0ce commit 8ef1e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ jobs:
org.jacoco:jacoco-maven-plugin:report \
sonar:sonar -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.organization=wttech \
-Dsonar.projectKey=wttech_AEM-Rules-for-SonarQube
-Dsonar.projectKey=wttech_AEM-Rules-for-SonarQube \
-Dsonar.branch.name=${{ github.head_ref || github.ref_name }}

0 comments on commit 8ef1e29

Please sign in to comment.