Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dotnet sonar scanner (part 2) #1125

Merged
merged 17 commits into from
Jun 20, 2024
Prev Previous commit
Next Next commit
x
  • Loading branch information
StefH committed Jun 20, 2024
commit 75305da92c5e9e8aab9ef8b1279393867fffedf7
5 changes: 2 additions & 3 deletions azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
@@ -32,9 +32,8 @@ jobs:
dotnet dev-certs https --trust || true
displayName: 'dotnet dev-certs https'

- script: |
dotnet sonarscanner begin /k:"WireMock-Net_WireMock.Net" /o:"wiremock-net" /d:sonar.branch.name=$(Build.SourceBranchName) /d:sonar.host.url="https://sonarcloud.io" /d:sonar.token="$(SONAR_TOKEN)" /d:sonar.dotnet.excludeTestProjects=true /d:sonar.cs.opencover.reportsPaths=**/coverage.net8.0.opencover.xml /d:sonar.verbose=true
displayName: 'Begin analysis on SonarCloud'
- task: SonarCloudPrepare@1
displayName: 'Prepare analysis on SonarCloud'
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) # Do not run for PullRequests
inputs:
SonarCloud: SonarCloud
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.