Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »


Before configuring Sonar plugin in Jenkins. You need to have :

  • running instances of Jenkins and Sonar,
  • installed the Sonar plugin and have restarted Jenkins.

Configure Sonar plugin

1. Go the Jenkins configuration :

2. Scrolldown to Sonar configuration and click on "Add Sonar" :

3. Configure the different parameters :

Here are the description of the parameters :




The logical name of the server


Check it if you want to disable this server

Server URL

The URL to access your Sonar server (default:


). This is the URL used when the analysis will be launched by Jenkins

Server public URL

This is the URL which the user should use to connect to Sonar. If it's not specified the Server URL will be used.

Database URL

The JDBC URL to connect to the database hosting the Sonar database

Database login

The login to connect to the database hosting the Sonar database

Database password

The password to connect to the database hosting the Sonar database the password will be encrypted on the configuration file.

Database driver

The Java driver classname to be used to connect to the database

Version of sonar-maven-plugin

If you want to force the use of a specific sonar-maven-plugin, you can set it here.

Additional properties

The properties you want to pass to Sonar, you must use the format :

  • No labels