starlark
continuous-integration/drone/push Build is passing Details

master
dohodin 2 years ago
parent 3e4b1bbc1c
commit 3d2aee8753

@ -40,7 +40,7 @@ def main(ctx):
"commands": [
"cd Sources/",
"dotnet restore OpenLibraryWS_Wrapper.sln",
"dotnet sonarscanner begin /k:Dotnet_Dorian_HODIN_C# /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:Dotnet_Dorian_HODIN_CodeFirst /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 build OpenLibraryWS_Wrapper.sln -c Release --no-restore",
"dotnet test OpenLibraryWS_Wrapper.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