diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 431125f99e3d47524dae4aa2f940ba964cf7cac2..24435f2c2a95f46b43a7dfec851f54e93b6e3798 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -104,7 +104,7 @@ sonarqube-check: paths: - .sonar/cache script: - - "dotnet sonarscanner begin /k:\"kon0379DiplomaThesis\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" /d:sonar.cs.opencover.reportsPaths=\"TestResults/*/*.xml\"" + - "dotnet sonarscanner begin /k:\"kon0379DiplomaThesis\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" /d:sonar.cs.opencover.reportsPaths=\"**/coverage.cobertura.xml\"" - "sudo dotnet test --collect:\"XPlat Code Coverage\"" - "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\"" allow_failure: true