diff --git a/.drone.star b/.drone.star index b335933..186ff57 100644 --- a/.drone.star +++ b/.drone.star @@ -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'",