minor tweaks
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-08-31 17:04:16 +02:00
parent b0307a656e
commit fa9cc884d1

View File

@@ -10,7 +10,7 @@ steps:
- apt-get install --yes openjdk-11-jre
- dotnet tool install --global dotnet-sonarscanner
- export PATH="$PATH:$HOME/.dotnet/tools"
- dotnet sonarscanner begin /k:"My-Weather-API" /d:sonar.login="$SONAR_TOKEN" /d:"sonar.host.url=$SONAR_HOST_URL"
- dotnet sonarscanner begin /k:"my-weather-app" /d:sonar.login="$SONAR_TOKEN" /d:"sonar.host.url=$SONAR_HOST_URL"
- dotnet build
- dotnet sonarscanner end /d:sonar.login="$SONAR_TOKEN"
- dotnet publish -c Release -o ./publish