Update '.drone.yml'
continuous-integration/drone/push Build is failing Details

pull/43/head^2
Matheo HERSAN 2 years ago
parent 125451a23f
commit f2946d27e2

@ -39,6 +39,7 @@ steps:
- dotnet sonarscanner begin /k:"MangaMap" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
- dotnet build MangaMap.sln -c Release --no-restore
- dotnet test MangaMap.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
- find . -name coverage.cobertura.xml
- reportgenerator -reports:"UnitTests/TestResults/**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
- dotnet publish MangaMap/MangaMap.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release
- dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN}

Loading…
Cancel
Save