|
|
@ -17,8 +17,8 @@ install:
|
|
|
|
- cmd: tsc -v
|
|
|
|
- cmd: tsc -v
|
|
|
|
build_script:
|
|
|
|
build_script:
|
|
|
|
- dotnet tool install --global dotnet-sonarscanner
|
|
|
|
- dotnet tool install --global dotnet-sonarscanner
|
|
|
|
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"tidusjar_Ombi" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%sonarrcloud_token%" /d:"sonar.analysis.mode=preview" /d:"sonar.github.pullRequest=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.github.repository=https://github.com/tidusjar/ombi" /d:"sonar.github.oauth=%github_auth_token%" }
|
|
|
|
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"tidusjar_Ombi" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=$env.sonarrcloud_token" /d:"sonar.analysis.mode=preview" /d:"sonar.github.pullRequest=$env:APPVEYOR_PULL_REQUEST_NUMBER" /d:"sonar.github.repository=https://github.com/tidusjar/ombi" /d:"sonar.github.oauth=$env.github_auth_token" }
|
|
|
|
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"tidusjar_Ombi" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=%sonarrcloud_token%" }
|
|
|
|
- ps: if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"tidusjar_Ombi" /d:"sonar.host.url=https://sonarcloud.io" /d:"sonar.login=$env.sonarrcloud_token" }
|
|
|
|
- ps: ./build.ps1 --settings_skipverification=true
|
|
|
|
- ps: ./build.ps1 --settings_skipverification=true
|
|
|
|
- dotnet sonarscanner end /d:"sonar.login=%sonarrcloud_token%"
|
|
|
|
- dotnet sonarscanner end /d:"sonar.login=%sonarrcloud_token%"
|
|
|
|
|
|
|
|
|
|
|
|