The JAVA_HOME section is used to point to the Java installation directory. In this tutorial, I will use the JDK which was installed on my machine.įield Name, because we can configure many JDKs, many Java versions, so field Name is used to name the current JDK that you want to install. Then the configuration for JDK installations will have the following interface: We can also use the JDK installed on our machine by unchecking Install automatically. But to do this, you must have a new Oracle account. To configure the JDK installations, click the Add JDK button:īy default, Jenkins allows us to install the JDK automatically by downloading the Oracle installation file directly. Here, you will see many configurations for many different tools, the configuration for the default JDK as follows: In this tutorial, I will guide you all how to configure JDK in Jenkins.įirst, just login into your Jenkins with the admin account, then go to Manage Jenkins and select Global Tool Configuration. To be able to build Java projects in Jenkins, the first thing we need to do that is: configure the JDK information.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |