From cd17c5978907cbea48dc45219b60d419db010db7 Mon Sep 17 00:00:00 2001 From: clchieu Date: Wed, 21 Feb 2024 22:20:50 +0100 Subject: [PATCH] :construction: Modification du nom de la ci, ajout de restore dans le test et ajout vers le bon dossier --- drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drone.yml b/drone.yml index d3a1a7f..3d73d76 100644 --- a/drone.yml +++ b/drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: SQLuedoCICD +name: API_SQLuedo trigger: event: @@ -18,6 +18,7 @@ steps: image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - cd API_SQLuedo/ + - dotnet restore API_SQLuedo.sln - dotnet test API_SQLuedo.sln -c Release --no-build --no-restore depends_on: - [ build ] @@ -32,7 +33,7 @@ steps: project_key: API_SQLuedo coverage_exclusions: "Test*/**" commands: - - cd Sources/ + - cd API_SQLuedo/ - dotnet restore API_SQLuedo.sln - dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token} - dotnet build API_SQLuedo.sln -c Release --no-restore