SonarQube Version 9.3 (build 51899)
Trying to exclude several files from the duplications analysis on Azure Pipelines.
Tried with the following pipeline yaml, but the analysis still show the files in the results.
- task: SonarQubePrepare@5
displayName: Sonar prepare
inputs:
SonarQube: $(sonarConnection)
scannerMode: MSBuild
projectKey: $(sonarProject)
extraProperties: |
sonar.cs.opencover.reportsPaths=$(Agent.TempDirectory)\TestResults\*.xml
sonar.msbuild.testProjectPattern=^UnitTest.*csproj$
sonar.coverage.exclusions=**\FunctionApp.cs
sonar.cpd.exclusions==**\CommunicationsCenter\Xxx.CommunicationsCenter.App\Pages\*
sonar.verbose=false