I have configured Sonar gerrit jenkins plugin which is initiated by gerrit trigger plugin through gerrit rest APIs. https://wiki.jenkins-ci.org/display/JENKINS/Sonar+Gerrit
I followed all the instructions mentioned and it working fine.
There is only one glitch i.e. the scoring for category "Code review" for my non interactive use is not happening. i.e. the history of patch sets is saying that the user has scored for code review but under the code review category at the top right corner there is not entry for code review category.
May be not specific to sonar gerrit but a gerrit expert can help me here.
I hope i was able to explain the problem.
cheers,
Saurav
I have solved this problem by adding a category in the project.config of gerrit project. Please check below. The values you can change according to your need.
Regards,
Saurav