Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

pull/23/head
Antoine PEREDERII 2 years ago
parent d401210027
commit b45a14ec00

@ -38,7 +38,7 @@ steps:
commands:
- cd src/Banquale/
- dotnet restore Banquale.sln
- dotnet sonarscanner begin /k:Banquale /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
- dotnet sonarscanner begin /k:Banquale /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
- dotnet build Banquale.sln -c Release --no-restore
- dotnet test Banquale.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
- reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"

Loading…
Cancel
Save