Skip to content

Commit

Permalink
fix sonar syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rducom committed Apr 4, 2019
1 parent 2410e51 commit 1cb850e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ before_build:
- dotnet restore
- cmd: >-
IF "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" (
dotnet sonarscanner begin /k:"NExtends" /d:"sonar.analysis.mode=publish" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.organization=luccaintegration-github" /d:"sonar.login=%SONAR_TOKEN%" /d:sonar.cs.opencover.reportsPaths="coverage-opencover.xml"
dotnet sonarscanner begin /k:"NExtends" /d:"sonar.analysis.mode=publish" /d:"sonar.host.url=https://sonarcloud.io" /o:luccaintegration-github /d:"sonar.login=%SONAR_TOKEN%" /d:sonar.cs.opencover.reportsPaths="coverage-opencover.xml"
) ELSE (
dotnet sonarscanner begin /k:"NExtends" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.organization=luccaintegration-github" /d:"sonar.login=%SONAR_TOKEN%" /d:"sonar.github.oauth=%GITHUB_ACCESS_TOKEN%" /d:"sonar.pullrequest.provider=github" /d:"sonar.pullrequest.branch=%APPVEYOR_REPO_BRANCH%" /d:"sonar.pullrequest.key=%APPVEYOR_PULL_REQUEST_NUMBER%" /d:"sonar.pullrequest.github.repository=LuccaSA/NExtends" /d:"sonar.pullrequest.github.endpoint=https://api.github.com"
dotnet sonarscanner begin /k:"NExtends" /d:"sonar.host.url=https://sonarcloud.io" /o:luccaintegration-github /d:"sonar.login=%SONAR_TOKEN%" /d:"sonar.github.oauth=%GITHUB_ACCESS_TOKEN%" /d:"sonar.pullrequest.provider=github" /d:"sonar.pullrequest.branch=%APPVEYOR_REPO_BRANCH%" /d:"sonar.pullrequest.key=%APPVEYOR_PULL_REQUEST_NUMBER%" /d:"sonar.pullrequest.github.repository=LuccaSA/NExtends" /d:"sonar.pullrequest.github.endpoint=https://api.github.com"
)
build_script:
Expand Down Expand Up @@ -80,4 +80,4 @@ deploy:
skip_symbols: false
artifact: /.*\.nupkg/
on:
deploy_unstable: true
deploy_unstable: true

0 comments on commit 1cb850e

Please sign in to comment.