Must-share information (formatted with Markdown):
- which versions are you using (SonarQube 8.6, Scanner 3.7, Plugin -maven sonar scanner , OS -linux )
- what are you trying to achieve: Sonar should report/bugs on New code only
- what have you tried so far to achieve this: We have defined to consider New code as “previous version(default)” and we are passing sequence number for the -Dsonar.project.version, so that every build/analysis can be considered as “new code”.But Sonar is not reporting the issues/bugs on my current build/commit alone, considering other files or whole lines of code .
How to fix the issue? What parameters do i need to check.
Do i need to check any configuration from Git level?