Now that we have our SonarQube plugin installed, let us configure it:
- From the Jenkins dashboard, click Manage Jenkins | Configure System.
- Once on the Configure System page, scroll down all the way to the SonarQube servers section.
- Under the SonarQube servers section, click on the Add SonarQube button. You will be presented with settings to configure, as shown in the following screenshot. Let us see them one by one.
- Give your SonarQube server a name using the Name field.
- Enter the SonarQube server URL under the Server URL field.
- Add Artifactory credentials under the Default Deployer Credentials.
- Add the token that we created inside SonarQube under the Server authentication token field.