ci: again..
This commit is contained in:
parent
319a0e1295
commit
18c5b43a49
1 changed files with 3 additions and 2 deletions
|
@ -36,9 +36,10 @@ jobs:
|
|||
dotnet tool install --global dotnet-sonarscanner
|
||||
dotnet tool install --global dotnet-coverage
|
||||
export PATH="$PATH:$HOME/.dotnet/tools"
|
||||
export PATH="$PATH:/root/.dotnet/tools"
|
||||
- name: Sonarqube Begin
|
||||
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
|
||||
run: |
|
||||
dotnet build Server -c Release
|
||||
|
@ -46,4 +47,4 @@ jobs:
|
|||
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
|
||||
- name: Sonarqube End
|
||||
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