Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Mandatory

Description

Name

Yes

The logical name of the server.

Disable

No

Check it if you want to disable this server.

Server URL

Yes

The URL to access your Sonar server (default to http://localhost:9000). This is the URL used when the analysis will be launched by Jenkins.

Server Public URL

No

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

Sonar account loginNoIf a project cannot be accessed anonymously, the 'Sonar account login' (sonar.login) and 'Sonar account password' (sonar.password) properties are required to run an analysis on this project. These properties have to be set to the credentials of a user having the 'User' role on this project.

A project cannot be anonymously accessed when either:

It is recommended to create a technical user who has the rights to analyze any projects.
Sonar account passwordNoSee Sonar account login.

Database URL

Yes

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

Database login

Yes

The login to connect to the database hosting the Sonar database.

Database password

Yes

The password to connect to the database hosting the Sonar database (the password will be encrypted in the configuration file).

Database driver

Yes

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

Version of sonar-maven-plugin

No

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

Additional properties

No

The properties you want to pass to Sonar, you must use the following format: -Dsome.property=some.value -Danother.property=another.value

Skip if triggered by SCM Changes

No

If you want to skip Sonar analysis when the Jenkins build is launched by a change in the SCM, check it.

Skip if triggered by the build of a dependency

No

If you want to skip Sonar analysis when the Jenkins build is launched by the build of a dependency, check it.

Skip if environment variable is defined

No

If this variable is set to true, Sonar analysis will be skipped.

...