From 70b66ca7796c426bb499a468e3863dbfcc698a16 Mon Sep 17 00:00:00 2001 From: Jade VAN BRABANDT Date: Tue, 9 Jan 2024 14:47:51 +0100 Subject: [PATCH] CI : Trying to implement test --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index feccd31..9121208 100755 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,7 @@ steps: commands: - cd Blazor/ - dotnet restore Blazor.sln - - dotnet sonarscanner begin /k:MuscuMaths /d:sonar.host.url=$${sonar_host} /d:sonar.login=$${sonar_token} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" + - dotnet sonarscanner begin /k:MuscuMaths /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" - dotnet sonarscanner begin /k:MuscuMaths /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - dotnet build Blazor.sln -c Release --no-restore - dotnet test Test.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"