Skip to content

Commit ec20bf6

Browse files
authored
Update sonarcloud.yml
Added parameter "/d:sonar.host.url="http://localhost:9000" since it now defaults to the SonarCloud site
1 parent 11df68b commit ec20bf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Sonarqube Begin Scan
2929
run: |
3030
dotnet tool install --global dotnet-sonarscanner
31-
dotnet sonarscanner begin /o:"${{ secrets.SONAR_ORG }}" /k:"${{ secrets.SONAR_PROJECT }}" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml" /d:sonar.cs.vstest.reportsPaths="**/*.trx" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.exclusions="**/Samples/**" /d:sonar.coverage.exclusions="**/OnixData.Standard.Benchmarks/**"
31+
dotnet sonarscanner begin /o:"${{ secrets.SONAR_ORG }}" /k:"${{ secrets.SONAR_PROJECT }}" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml" /d:sonar.cs.vstest.reportsPaths="**/*.trx" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.exclusions="**/Samples/**" /d:sonar.coverage.exclusions="**/OnixData.Standard.Benchmarks/**" /d:sonar.host.url="http://localhost:9000"
3232
3333
- name: Build
3434
run: dotnet build OnixDataStandard.sln --no-restore

0 commit comments

Comments
 (0)