mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
Fix SonarCloud config
This commit is contained in:
@@ -47,7 +47,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=grimsi_gameyfin
|
||||
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
|
||||
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
@@ -30,8 +30,10 @@
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<sonar.organization>grimsi-github</sonar.organization>
|
||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||
<sonar.organization>grimsi-github</sonar.organization>
|
||||
<sonar.projectKey>grimsi_gameyfin</sonar.projectKey>
|
||||
<sonar.coverage.jacoco.xmlReportPaths>./backend/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# Point SONAR to the compiled Java classes
|
||||
sonar.java.binaries=./backend/target
|
||||
|
||||
# Point SONAR to the JaCoCo report
|
||||
sonar.coverage.jacoco.xmlReportPaths=./backend/target/site/jacoco-aggregate/jacoco.xml
|
||||
Reference in New Issue
Block a user