Created
June 27, 2021 22:52
-
-
Save mstfymrtc/c35fa40b064b4d1c232be50f51769c95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SONAR_USER="admin" | |
SONAR_PASS="mustafa123" | |
SONAR_HOST_URL="http://localhost:9000" | |
SONAR_PROJECT_NAME="dotnet-mutation-testing-example" | |
dotnet-sonarscanner begin \ | |
/k:$SONAR_PROJECT_NAME \ | |
/n:$SONAR_PROJECT_NAME \ | |
/d:sonar.host.url=$SONAR_HOST_URL \ | |
/d:sonar.login=$SONAR_USER \ | |
/d:sonar.password=$SONAR_PASS \ | |
dotnet build -nologo -consoleLoggerParameters:NoSummary -verbosity:quiet --no-restore | |
dotnet-sonarscanner end \ | |
/d:sonar.login=$SONAR_USER \ | |
/d:sonar.password=$SONAR_PASS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment