diff --git a/.drone.yml b/.drone.yml index 79c94c8..bdb4e86 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,7 +38,7 @@ steps: - dotnet test webAPI.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" - reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport" - dotnet publish webAPI.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + - dotnet sonarscanner end /d:sonar.login=$${sonar_token} depends_on: [tests] - name: generate-and-deploy-docs