Skip to content

Commit

Permalink
Use sonar.token instead of sonar.login (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelfoppolo authored Mar 6, 2024
1 parent b5517d8 commit 4209c0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.token=$SONAR_TOKEN \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.organization=insideapp-oss \
-Dsonar.projectKey=insideapp-oss_sonar-apple
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.login=$SONAR_TOKEN \
-Dsonar.token=$SONAR_TOKEN \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.organization=insideapp-oss \
-Dsonar.projectKey=insideapp-oss_sonar-apple
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ xcrun xcodebuild \
clean test

# Run the analysis and publish to the SonarQube server
# Don't forget to specify `sonar.host.url` and `sonar.login` in `sonar-project.properties` or supply it to the following command.
# Don't forget to specify `sonar.host.url` and `sonar.token` in `sonar-project.properties` or supply it to the following command.
sonar-scanner
```

Expand Down

0 comments on commit 4209c0f

Please sign in to comment.