O'Reilly logo

Sonar Code Quality Testing Essentials by Charalampos Arapidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing the Sonar plugin

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required