Environment:
- SonarQube Version 6.3.1 (build 21392)
- VSTS git repo
- C# web application
Actions performed:
- master branch has a branch policy linked to a CI build definition using the SonarQube build tasks (https://marketplace.visualstudio.com/items?itemName=SonarSource.sonarqube)
- SonarQube project setup with default quality profile and quality gate - manual build loads the SonarQube results into the project ... all good.
- New feature branch from master
- Adding some new "violations" to the feature branch and creating a new pull request
- Pull request does not pick up the new violations
Log messages:
2017-05-12T13:08:45.8746183Z SonarQube found 535 issues out of which 4 are new
2017-05-12T13:08:45.8746183Z
2017-05-12T13:08:45.8746183Z
2017-05-12T13:08:45.8902552Z 4 issue(s) do not relate to a specific file and will not be posted to the code review
New issues have apparently been detected during the SonarQube analysis, but have not been pushed to the PR / code review ...
What's causing the log message above? Issues not related to a specific file? Why are the violations not posted to the code review? In my test case here, I added some unused variables and a private method which was not called.
Any help to understand this behavior? Thanks for your help!
Best regards,
Pieter.