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

Update .gitlab-ci.yml file

parent 30b4f632
1 merge request!15merge: develop into main
Pipeline #864 passed with warnings with stages
in 3 minutes and 33 seconds
...@@ -105,7 +105,8 @@ sonarqube-check: ...@@ -105,7 +105,8 @@ sonarqube-check:
- .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.opencover.reportsPaths=\"**/coverage.cobertura.xml\""
- "sudo dotnet test --collect:\"XPlat Code Coverage\"" - sudo dotnet build --no-incremental
- 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\""
allow_failure: true allow_failure: true
only: only:
......
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