ci: again
This commit is contained in:
parent
6fa2c25efd
commit
319a0e1295
1 changed files with 3 additions and 3 deletions
|
@ -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 }}"
|
||||||
|
|
Loading…
Reference in a new issue