Skip to content

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
MichiBaum committed Oct 8, 2024
1 parent d549a47 commit 1f21d97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn clean compile -Psonar-report
mvn clean verify -Psonar-report
mvn sonar:sonar -Psonar-report -Dsonar.projectKey=MichiBaum_Microservices
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@
<properties>
<sonar.organization>michibaum</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.language>kotlin</sonar.language>
</properties>
<build>
<plugins>
Expand Down

0 comments on commit 1f21d97

Please sign in to comment.