Update .gitlab-ci.yml file

This commit is contained in:
Timothy Schenk 2023-04-20 11:34:55 +00:00
parent ee2fa602fe
commit c24aeb941d

View file

@ -108,7 +108,7 @@ sonarqube-check:
- "dotnet tool install --global dotnet-sonarscanner"
- "dotnet tool install --global dotnet-coverage"
- "export PATH=\"$PATH:$HOME/.dotnet/tools\""
- "dotnet sonarscanner begin /k:\"wonderking_continuity_AYVNylewKO-B3MBr7mwm\" /d:sonar.login=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" /d:sonar.cs.vscoveragexml.reportsPaths=\"**.coveragexml\" /d:sonar.cs.vstest.reportsPaths=\"**.trx\" "
- "dotnet sonarscanner begin /k:\"wonderking_continuity_AYeecUUTs-PH__JrTRky\" /d:sonar.token=\"$SONAR_TOKEN\" /d:\"sonar.host.url=$SONAR_HOST_URL\" "
- "dotnet build"
- "dotnet test --collect \"Code Coverage\" --logger trx --results-directory \"TestsResults\""
# - "dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'"