after performing Sonarqube analysis I get sonar-report.json. To post this in gerrit comment I use Sonar Gerrit Plugin. In jenkins logs there is an information: -Report has loaded and contains 15 issues -Issues to be commented: 0
My question is why no issues are commented to gerrit? Plugin configuration is default so severity level is lowest. I think all issues should be mentioned in gerit comment.
Check the following Sonar-Gerrit plugin options at Post-build Actions > SonarQube Settings > Gerrit Settings... > Review Settings
Report new issues only?
Only new SonarQube issues to be commented in Gerrit when checked. Modified files to be commented with all corresponding issues when unchecked.
Affect changed lines only
Only changed in current commit lines to be commented by Gerrit when checked. Modified files to be commented with all issues if this control unchecked.