Global Tool Configuration in Jenkins

In this section, we will configure various tools that we need to utilize at the time of creating a build job, for example, Java, Ant, Maven, and so on.

We can install this also from the Jenkins dashboard. What if we have two different applications where one needs to be compiled with JDK 1.7 and the other with JDK 1.8? We can add multiple JDK and while creating a Build Job, we can specify which JDK we want to utilize for that build job execution.

Once Java is configured, our next task is to configure Maven:

Now that we have configured different tools in Jenkins, we will create a new job or item using the ...

Get DevOps Bootcamp 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.