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:
parent
3dc48dabd3
commit
e3153653ff
|
@ -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 }}
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue