-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Sonar Code Quality Testing Essentials
By :

Before we test our new job, let's install the Sonar plugin. The Sonar plugin enables Jenkins to initiate a Sonar analysis after each build. From the Jenkins home page http://localhost:8080/
, click on the Manage Jenkins link, and Manage Plugins from the next screen. Click on the Available tab and search (Ctrl + F) for Sonar to find and select the Sonar plugin. Then, click on the Install without restart button to start the installation process.
While Jenkins is downloading and installing the plugin, make sure to check the Restart Jenkins option as shown in the following screenshot. This will ensure that Jenkins restarts immediately once the installation is complete.
![]() |
With the Sonar plugin installed, go to Manage Jenkins | Configure System and scroll down to the Sonar section. Provide a name for the Sonar server and click on Save. If the Sonar server is installed at a URL other than the default one (http://localhost:9000/
), click on the Advanced... button and enter...
Change the font size
Change margin width
Change background colour