Skip to content

Commit

Permalink
Fix sonar project key
Browse files Browse the repository at this point in the history
  • Loading branch information
louisjdmartin committed Jan 5, 2024
1 parent f7ab23b commit a85308a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java-continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# SonarCloud access token should be generated from https://sonarcloud.io/account/security/
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.organization=lequal -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
run: mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.login=$SONAR_TOKEN
8 changes: 5 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
sonar.projectKey=cnesreport
sonar.projectName=cnesreport
sonar.projectVersion=3.3.0
sonar.projectKey=fr.cnes.sonar:cnesreport
sonar.organization=lequal
sonar.host.url=https://sonarcloud.io
sonar.projectName=SonarQube CNES Report
sonar.projectVersion=4.2.0
sonar.projectDescription=Export SonarQube report for a specific project.
sonar.sources=src/main
sonar.tests=src/test/ut
Expand Down

0 comments on commit a85308a

Please sign in to comment.