mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-20 23:41:19 +02:00
Set up CI with Azure Pipelines (#203)
* Set up CI with Azure Pipelines * Microsoft.NET.Test.Sdk and coverlet.msbuild * vmImage: 'vs2017-win2016' * Remove coverlet.msbuild * . * s * eq * i * ne * , * echo * build always (test) * Install SonarScanner * script * cmd * dotnet tool install * SonarScanner via tools folder * echo * powershell * BUILD_BUILDID * $(SONAR_TOKEN) * fix * . * | * $(buildId) * $(buildId) * BuildId * appv * /d:sonar.cs.vscoveragexml.reportsPaths="**\*.coveragexml" * .coverage * coverlet * coverlet * b * coverlet local * Fix codefactor * Build Azure * Build Azure * remove FluentMockServer_Admin_StartStop * FluentMockServer_Admin_StartStop
This commit is contained in:
committed by
Stef Heyenrath
parent
84f3cc029f
commit
0c25ab413d
@@ -34,7 +34,7 @@ before_build:
|
||||
|
||||
build_script:
|
||||
# Begin SonarScanner
|
||||
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner begin /k:"wiremock" /d:sonar.organization="stefh-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:SONAR_TOKEN" /v:"$env:APPVEYOR_BUILD_NUMBER" /d:sonar.cs.opencover.reportsPaths="$env:CD\coverage.xml" }'
|
||||
# - ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner begin /k:"wiremock" /d:sonar.organization="stefh-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$env:SONAR_TOKEN" /v:"$env:APPVEYOR_BUILD_NUMBER" /d:sonar.cs.opencover.reportsPaths="$env:CD\coverage.xml" }'
|
||||
|
||||
# build WireMock.Net
|
||||
- dotnet build .\src\WireMock.Net\WireMock.Net.csproj -c %CONFIGURATION%
|
||||
@@ -57,4 +57,4 @@ test_script:
|
||||
|
||||
|
||||
# End SonarScanner
|
||||
- ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner end /d:sonar.login="$env:SONAR_TOKEN" }'
|
||||
# - ps: 'if (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { & dotnet sonarscanner end /d:sonar.login="$env:SONAR_TOKEN" }'
|
||||
Reference in New Issue
Block a user