diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e430c4412ebbe6c286cdd2e7832e4eb76329b24..728a4ab2ec488713e4430508aaff026288e21ef3 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=\"**/coverage.cobertura.xml\"" + - "dotnet sonarscanner begin /k:\"kon0379DiplomaThesis\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml - sudo dotnet build --no-incremental - sudo /home/fei/kon0379/.dotnet/tools/dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml" - "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\""