GitHub Actions: Updates projectKey and organization for SonarCloud

I've editted the organisation on SonarCloud and the organisation key changed.
This commit is contained in:
Christian Koop 2023-05-07 19:08:08 +02:00
parent 3dc48dabd3
commit e3153653ff
No known key found for this signature in database
GPG Key ID: 89A8181384E010A3
2 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,8 @@ permissions: read-all
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_PROJECT_KEY: songoda_SongodaCore
SONAR_ORGANIZATION: craftaro
SONAR_PROJECT_KEY: craftaro_SongodaCore
jobs:
Analyze:
@ -34,6 +35,8 @@ jobs:
mvn -B \
verify \
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.host.url=https://sonarcloud.io \
"-Dsonar.organization=$SONAR_ORGANIZATION" \
"-Dsonar.projectKey=$SONAR_PROJECT_KEY"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -16,8 +16,6 @@
<java.version>1.8</java.version>
<java.release>8</java.release>
<sonar.organization>songoda</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.junit.reportPaths>target/surefire-reports/*.xml</sonar.junit.reportPaths>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
</properties>