Skip to content
Snippets Groups Projects
Commit f1595623 authored by kon0379's avatar kon0379
Browse files

Update .gitlab-ci.yml file

parent 94f41808
1 merge request!15merge: develop into main
Pipeline #866 failed
...@@ -104,7 +104,7 @@ sonarqube-check: ...@@ -104,7 +104,7 @@ sonarqube-check:
paths: paths:
- .sonar/cache - .sonar/cache
script: 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 dotnet build --no-incremental
- sudo /home/fei/kon0379/.dotnet/tools/dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml" - sudo /home/fei/kon0379/.dotnet/tools/dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"
- "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\"" - "dotnet sonarscanner end /d:sonar.token=\"$SONAR_TOKEN\""
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment