ci: again
Some checks failed
Test if Server can be built / build-server (push) Successful in 27s
Test if Server can be built / sonarqube (push) Failing after 56s

This commit is contained in:
Timothy Schenk 2023-11-01 19:00:52 +01:00
parent 6fa2c25efd
commit 319a0e1295

View file

@ -35,10 +35,10 @@ jobs:
apt-get install --yes openjdk-11-jre apt-get install --yes openjdk-11-jre
dotnet tool install --global dotnet-sonarscanner dotnet tool install --global dotnet-sonarscanner
dotnet tool install --global dotnet-coverage dotnet tool install --global dotnet-coverage
export PATH="$PATH:/root/.dotnet/tools" export PATH="$PATH:$HOME/.dotnet/tools"
- name: Sonarqube Begin - name: Sonarqube Begin
run: | run: |
dotnet sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" dotnet-sonarscanner begin /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}"
- name: Sonarqube Scan - name: Sonarqube Scan
run: | run: |
dotnet build Server -c Release dotnet build Server -c Release
@ -46,4 +46,4 @@ jobs:
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml' # dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
- name: Sonarqube End - name: Sonarqube End
run: | run: |
dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}" dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"