diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 71e3fd6697ff49e0d2f1fdddefccbfd4e71ab8a3..0d612df58035fcfdb0263c6be98c3da9c2dc6317 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=\"UnitTest/TestResults*/*.xml\"" - "sudo dotnet test --collect:\"XPlat Code Coverage\"" - "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\"" allow_failure: true