Update .drone.yml

This commit is contained in:
Victor Mylle 2023-03-08 12:33:16 +00:00
parent cfea71d3fd
commit 6150f6c0bf

View File

@ -19,7 +19,7 @@ steps:
- dotnet tool install --global dotnet-sonarscanner
- dotnet sonarscanner begin /k:"$SONAR_PROJECT_KEY" /d:sonar.host.url="$SONAR_HOST" /d:sonar.login="$SONAR_TOKEN" /d:sonar.branch.name="$DRONE_REPO_BRANCH" /d:sonar.analysis.mode=preview
- dotnet restore
- dotnet build
- dotnet build src.sln
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"
environment:
SONAR_HOST: