SonarQube server information


In Manage Jenkins -> Configure System, under the heading SonarQube servers use the Add SonarQube button to add a new definition. Provide a Name to be used during the scripts, provide the URL to your SonarQube server and the SonarQube server access token for this server. Contact your SonarQube administrator for required information.

JenkinsConfiguration_2.png

In order to have a Jenkins Job wait for a SonarQube quality gate to be calculated, the SonarQube server needs to have a SonarQube webhook configured to pass the quality gate status back to Jenkins. A SonarQube webhook is configured in the SonarQube Project -> Administration section or globally in the Administration -> Configuration -> Webhooks section, as displayed in the following image:

JenkinsConfiguration_3.png


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*