Skip to content

Commit

Permalink
Infra: Update scanner to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource committed Oct 21, 2024
1 parent 588f38f commit 499286b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ stages:
projectName: 'SonarScanner for .NET'
projectVersion: '$(SONAR_PROJECT_VERSION)'
scannerMode: MSBuild
dotnetScannerVersion: '9.0.0'
extraProperties: |
sonar.cs.opencover.reportsPaths="$(Build.SourcesDirectory)/coverage/**.xml"
sonar.cs.vstest.reportsPaths="$(Build.SourcesDirectory)/TestResults/*.trx"
Expand Down Expand Up @@ -321,11 +322,16 @@ stages:
Get-ChildItem $(Agent.TempDirectory) -Filter 'dummy.*' -Recurse -Attributes !Directory | Remove-Item
- task: SonarCloudAnalyze@2
inputs:
scannerMode: MSBuild
dotnetScannerVersion: '9.0.0'
displayName: 'Code Analysis - End'

- task: SonarCloudPublish@2
displayName: 'Code Analysis - Publish QG'
inputs:
scannerMode: MSBuild
dotnetScannerVersion: '9.0.0'
pollingTimeoutSec: '300'

- powershell: .\scripts\Mend\Mend-Scan.ps1
Expand Down

0 comments on commit 499286b

Please sign in to comment.