diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 728a4ab2ec488713e4430508aaff026288e21ef3..9e054866b0c5f8e25b7290718d814da670014851 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.vscoveragexml.reportsPaths=coverage.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\""