Skip to content

Commit 74a05f1

Browse files
authored
Temporary disable sonar check
1 parent 8816d1e commit 74a05f1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

appveyor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ init:
1111
- SET JAVA_HOME=C:\Program Files\Java\jdk11
1212
- SET PATH=%JAVA_HOME%\bin;%PATH%
1313

14-
install:
15-
- ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet tool install --global dotnet-sonarscanner }
14+
# install:
15+
# - ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet tool install --global dotnet-sonarscanner }
1616

1717
test: off
1818

19-
before_build:
20-
- ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"rosolko_WebDriverManager.Net" /v:$env:LIBRARY_VERSION /o:"rosolko-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login=$env:SONAR_LOGIN /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="WebDriverManager.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="C:\projects\webdrivermanager-net\WebDriverManager.Tests\opencover.xml" }
19+
# before_build:
20+
# - ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner begin /k:"rosolko_WebDriverManager.Net" /v:$env:LIBRARY_VERSION /o:"rosolko-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login=$env:SONAR_LOGIN /d:sonar.language="cs" /d:sonar.exclusions="**/bin/**/*,**/obj/**/*" /d:sonar.coverage.exclusions="WebDriverManager.Tests/**,**/*Tests.cs" /d:sonar.cs.opencover.reportsPaths="C:\projects\webdrivermanager-net\WebDriverManager.Tests\opencover.xml" }
2121

2222
build_script:
2323
- ps: dotnet restore
2424
- ps: dotnet build
2525
- ps: dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat="opencover" /p:CoverletOutput="opencover.xml"
2626

27-
after_build:
28-
- ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner end /d:sonar.login=$env:SONAR_LOGIN }
27+
# after_build:
28+
# - ps: if (!$env:APPVEYOR_PULL_REQUEST_NUMBER) { dotnet sonarscanner end /d:sonar.login=$env:SONAR_LOGIN }
2929

3030
artifacts:
3131
- path: '**\*.nupkg'

0 commit comments

Comments
 (0)