Skip to content

Commit 57da102

Browse files
chore: replacing sonar.login with sonar.token
1 parent 3df6eb4 commit 57da102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ docker-push:
3737
docker push twilio/twilio-csharp:${CURRENT_TAG}
3838

3939
cover:
40-
dotnet sonarscanner begin /k:"$(PROJECT_NAME)" /o:"twilio" /d:sonar.host.url=https://sonarcloud.io /d:sonar.login="${SONAR_TOKEN}" /d:sonar.language="cs" $(SONAR_SOURCES) /d:sonar.cs.opencover.reportsPaths="test/lcov.net451.opencover.xml"
40+
dotnet sonarscanner begin /k:"$(PROJECT_NAME)" /o:"twilio" /d:sonar.host.url=https://sonarcloud.io /d:sonar.token="${SONAR_TOKEN}" /d:sonar.language="cs" $(SONAR_SOURCES) /d:sonar.cs.opencover.reportsPaths="test/lcov.net451.opencover.xml"
4141
# Write to a log file since the logs for build with sonar analyzer are pretty beefy and travis has a limit on the number of log lines
4242
dotnet build Twilio.sln > buildsonar.log
4343
dotnet test test/Twilio.Test/Twilio.Test.csproj --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../lcov
44-
dotnet sonarscanner end /d:sonar.login="${SONAR_TOKEN}"
44+
dotnet sonarscanner end /d:sonar.token="${SONAR_TOKEN}"
4545

4646
cache:
4747
directories:

0 commit comments

Comments
 (0)