Update .drone.yml

This commit is contained in:
Victor Mylle
2023-03-08 13:06:16 +00:00
parent 250019f29c
commit e61cc0d701

View File

@@ -19,6 +19,11 @@ steps:
- rm Assembly-CSharp-Editor.csproj - rm Assembly-CSharp-Editor.csproj
- rm Assembly-CSharp.csproj - rm Assembly-CSharp.csproj
- dotnet tool install --global dotnet-sonarscanner - 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: environment:
SONAR_HOST: SONAR_HOST: