mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-27 20:01:52 +01:00
wiremock-net
This commit is contained in:
@@ -26,13 +26,8 @@ steps:
|
|||||||
Write-Host "##vso[task.setvariable variable=JAVA_HOME]$jdkPath"
|
Write-Host "##vso[task.setvariable variable=JAVA_HOME]$jdkPath"
|
||||||
|
|
||||||
# Begin SonarScanner
|
# Begin SonarScanner
|
||||||
# See also
|
|
||||||
# - https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools, else you get this error: `Since you just installed the .NET Core SDK, you will need to reopen the Command Prompt window before running the tool you installed.`
|
|
||||||
# - https://github.com/dotnet/cli/issues/8368
|
|
||||||
# - https://github.com/Microsoft/vsts-tasks/issues/8291
|
|
||||||
#
|
|
||||||
- script: |
|
- script: |
|
||||||
%USERPROFILE%\.dotnet\tools\dotnet-sonarscanner begin /k:"WireMock-Net_WireMock.Net" /o:"stefh-github" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$(SONAR_TOKEN)" /v:"$(buildId)" /d:sonar.cs.opencover.reportsPaths="**\coverage.netcoreapp3.1.opencover.xml"
|
%USERPROFILE%\.dotnet\tools\dotnet-sonarscanner begin /k:"WireMock-Net_WireMock.Net" /o:"wiremock-net" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.login="$(SONAR_TOKEN)" /v:"$(buildId)" /d:sonar.cs.opencover.reportsPaths="**\coverage.netcoreapp3.1.opencover.xml"
|
||||||
displayName: Begin SonarScanner
|
displayName: Begin SonarScanner
|
||||||
condition: and(succeeded(), eq(variables['RUN_SONAR'], 'yes'))
|
condition: and(succeeded(), eq(variables['RUN_SONAR'], 'yes'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user