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