Configuring Jenkins

Ensure that the Jenkins service is running and go to http://localhost:8080/. From there, click on the Manage Jenkins link on the left menu to view the list of links leading to different configuration pages. Click on the top one, Configure System, to navigate to the configuration dashboard. This dashboard features many different sections which we will configure one by one.

JDK configuration

Click on the Add JDK button to expand this section. If your installed JDK has not been auto-detected by Jenkins, you have to enter it manually in the Name field. Unless, of course, you want Jenkins to install JDK automatically for you, in which case you check the Install automatically checkbox.

Maven configuration

Click on the Add Maven button ...

Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.