Skip to content

Commit

Permalink
Merge pull request #154 from aservo/fix/sonarcloud_attributes
Browse files Browse the repository at this point in the history
Add missing sonarcloud attributes
  • Loading branch information
pathob authored May 24, 2024
2 parents 8cb35f7 + c661284 commit 71a05cd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
restore-keys: confapi-plugin

- name: Run Unit Tests and analyze on SonarCloud
run: ./mvnw test sonar:sonar -B
run: ./mvnw test sonar:sonar -B --settings ./.github/workflows/settings.xml -P analyzing

deploy:
needs: unit-tests
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,13 @@
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
</properties>
</profile>
<profile>
<id>analyzing</id>
<properties>
<sonar.projectKey>aservo_confapi-commons</sonar.projectKey>
<sonar.organization>800c9135c81800959e51375f6594c91a1f757be9bbbc14d311783a4f75c501ec7807da061e787a9ea89433eb1cf2d6088b664332abd6a411ca5b44e811e97a23</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
</profile>
</profiles>
</settings>

0 comments on commit 71a05cd

Please sign in to comment.