In the old version of the plugin the issues gate (sonar.gitlab.max_blocker_issues_gate, etc.) where used only in preview mode.
By default in preview mode only new issues since last analysis (publish mode) where listed.
Since sonarqube 7.7 preview mode has been remove and the issues gate has been enabled also for branch analyses, however all issues of the branch are listed in the commit comment and used in issue gate evaluation.
Proposition : the plugin should only consider for branch analyses (for commit comment and issues gate) issues introduced since sonarqube branch leak period, except if sonar.gitlab.all_issues is true.
In the old version of the plugin the issues gate (
sonar.gitlab.max_blocker_issues_gate
, etc.) where used only in preview mode. By default in preview mode only new issues since last analysis (publish mode) where listed.Since sonarqube 7.7 preview mode has been remove and the issues gate has been enabled also for branch analyses, however all issues of the branch are listed in the commit comment and used in issue gate evaluation.
Proposition : the plugin should only consider for branch analyses (for commit comment and issues gate) issues introduced since sonarqube branch leak period, except if
sonar.gitlab.all_issues
is true.