-
Notifications
You must be signed in to change notification settings - Fork 20
Home
mildis edited this page Nov 21, 2014
·
15 revisions
#Welcome to the sonar-gerrit-plugin wiki!
This wiki will try to explain how to setup and use the sonar-gerrit-plugin.
As SonarQube™ analysis starts, plugin connects to Gerrit and asks what files were changed in a patchset. SonarQube iterates on every file and if file is contained in a patchset, the plugin collects it's violations and alerts.
When analysis is finished, the plugin connects back to Gerrit again and publish violations and alerts as patchset comments.
Depending on the threshold, plugin votes -1/+1 so submit can be blocked based on your Gerrit settings.