We get Sonar comments in our PR’s of files not included in the PR
- ALM used: Azure DevOps
- CI system used: Azure DevOps
- Scanner command used:
- task: SonarCloudPrepare@2
inputs:
SonarCloud: 'SonarCloud'
organization: '***'
scannerMode: 'MSBuild'
projectKey: '***'
projectName: '***'
extraProperties: |
# Additional properties that will be passed to the scanner,
sonar.exclusions=**/*.Data/Migrations/Sql/*.sql,**/*.Data/Migrations/*.cs
sonar.coverage.exclusions=**/*.Data/**/*.cs
sonar.cs.opencover.reportsPaths=$(Agent.TempDirectory)/**/coverage.opencover.xml
- Languages of the repository: C#
- SonarCloud project URL: Not public
- Error observed:
This file no longer exists in the latest pull request changes. It may have been moved or deleted.View the comment in its original context.
- Steps to reproduce: Will provide if necessary
- Potential workaround: None