Chapter 1. Sonargraph's Next Generation - SonargraphBuild

SonargraphBuild integrates quality checks into the continuous integration build and can create XML and HTML reports via an Ant task or shell scripts. These reports contain all information about quality issues and calculated metrics. The XML report can be used for further downstream processing via transformations. The XML schema for the report can be found in <sonargraphBuild-inst>/doc.

SonargraphBuild additionally offers the possibility to mark the build as failed based on issues detected during the analysis. So, if you have written custom queries via Groovy scripts that check on the proper usage of an external library or detect a code smell, you can be sure that it is detected immediately.