From b95c61e6ef5cd4c68661d8735069b719fe05809d Mon Sep 17 00:00:00 2001 From: Lucas DELANIER Date: Sun, 26 Mar 2023 20:50:47 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7c273a5..0afa2bc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -36,12 +36,12 @@ steps: - dotnet test LeagueOfLegends.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 LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - - dotnet sonarscanner end /d:sonar.login=$${SONAR_TOKEN} - secrets: [ SONAR_TOKEN ] + - dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN} + secrets: [ SECRET_SONAR_LOGIN ] settings: sonar_host: https://codefirst.iut.uca.fr/sonar/ sonar_token: - from_secret: SONAR_TOKEN + from_secret: SECRET_SONAR_LOGIN depends_on: [tests]