Update .drone.yml

This commit is contained in:
Victor Mylle
2023-03-08 11:24:58 +00:00
parent b5a56e39ba
commit f490dde507

View File

@@ -9,6 +9,7 @@ steps:
commands:
- apt-get update && apt-get install -y unzip
- export PATH="$PATH:/root/.dotnet/tools"
- 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 build