Chapter 13.  Build Server Integration

Several integrations exist to run the same Sonargraph quality checks on your build server. SonargraphBuild can be downloaded from our web site: https://www.hello2morrow.com/products/downloads Integrations are available to start Sonargraph using Ant, Maven, Gradle or Shell scripts. Plugins are available to visualize the results in SonarQube and Jenkins . More details about configuration options can be found in the user manual of SonargraphBuild.

If you want to analyze a Java system with Ant on the build server, chances are high that the workspace definition contains class root directories of the development environment and that those directories are not available on the build server. The following section describes how workspace profiles can be used to solve this problem: Section 7.7.3, “ Creating Workspace Profiles for Build Environments ”

Related topics: