Temp; disable SonarQube
This commit is contained in:
parent
1fb2f158d9
commit
21bf5a962f
26
appveyor.yml
26
appveyor.yml
|
|
@ -52,19 +52,19 @@ before_build:
|
|||
- cmd: >-
|
||||
docker-compose -f docker-compose.yaml up -d mongodb postgres
|
||||
|
||||
- ps: >-
|
||||
if(-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
|
||||
& dotnet-sonarscanner begin
|
||||
/k:$env:sonarcloud_project_name
|
||||
/v:AppVeyor_build_$env:APPVEYOR_BUILD_VERSION
|
||||
/o:$env:sonarcloud_org_name
|
||||
/s:$env:APPVEYOR_BUILD_FOLDER\.SonarQube.Analysis.xml
|
||||
/d:sonar.host.url="https://sonarcloud.io"
|
||||
/d:sonar.login=$env:sonarcloud_api_key
|
||||
/d:sonar.cs.xunit.reportsPaths=$env:APPVEYOR_BUILD_FOLDER\**\TestResults\TestResults.xml
|
||||
/d:sonar.cs.opencover.reportsPaths=$env:APPVEYOR_BUILD_FOLDER\**\TestResults\*\coverage.opencover.xml
|
||||
/d:sonar.branch.name=$env:APPVEYOR_REPO_BRANCH
|
||||
}
|
||||
# - ps: >-
|
||||
# if(-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
|
||||
# & dotnet-sonarscanner begin
|
||||
# /k:$env:sonarcloud_project_name
|
||||
# /v:AppVeyor_build_$env:APPVEYOR_BUILD_VERSION
|
||||
# /o:$env:sonarcloud_org_name
|
||||
# /s:$env:APPVEYOR_BUILD_FOLDER\.SonarQube.Analysis.xml
|
||||
# /d:sonar.host.url="https://sonarcloud.io"
|
||||
# /d:sonar.login=$env:sonarcloud_api_key
|
||||
# /d:sonar.cs.xunit.reportsPaths=$env:APPVEYOR_BUILD_FOLDER\**\TestResults\TestResults.xml
|
||||
# /d:sonar.cs.opencover.reportsPaths=$env:APPVEYOR_BUILD_FOLDER\**\TestResults\*\coverage.opencover.xml
|
||||
# /d:sonar.branch.name=$env:APPVEYOR_REPO_BRANCH
|
||||
# }
|
||||
|
||||
build_script:
|
||||
- ps: >-
|
||||
|
|
|
|||
Loading…
Reference in a new issue