Affects Version/s: None
Fix Version/s: 5.1
It is a common mistake for users to run an incremental analysis with no remote project. For example main analysis is done with
- sonar.projectKey = xxx
so project key is: xxx:yyy
When users start an incremental analysis with only -Dsonar.projetcKey=xxx (no branch) then they are in fact analyzing a new project. They are often surprised to see that all files are analyzed and all issues are new.
Proposed solution is to display a visible warning in logs.