Hi,
During the first analysis of a project, the source code being analyzed is not considered to be “new code”. Is this right? (maybe because there are no snapshots to be considered as a baseline for comparison)
In this way, if the quality gate only checks for new code, the issues pointed out in the first analysis will never be counted, even if you change the new code period (previous version, date,…).
So, to consider this code as new, it would be necessary that every first analysis of a project was with an empty source code.
Environment:
- SonarQube 7.9.3 Enterprise Edition