diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97fd62d2d57b2637b654db145f72d3cb61451df7..f88c281c78655946b706cf48584c6518c498844b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,7 +106,7 @@ sonarqube-check: script: - "dotnet sonarscanner begin /k:\"kon0379DiplomaThesis\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" " - "sudo dotnet build" - - "sudo dotnet test --collect \"Code Coverage\"" + - "dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'" - "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\"" allow_failure: true only: