Update .drone.yml

This commit is contained in:
Victor Mylle
2023-03-08 11:38:12 +00:00
parent 496acc39a7
commit 8ba53d225e

View File

@@ -12,6 +12,7 @@ steps:
- ls
- 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 sonarscanner end /d:sonar.login="$SONAR_TOKEN"
environment: