I'm new to Jenkins and I am trying to configure my JDK and Maven home locations in Manage Jenkins > Configure, but I do not see those sections in the page. How do how make them visible?
Jenkins - Configure System
The JDKs and Maven are managed and specified under "Manage Jenkins" -> "Global Tool Configuration" -> "JDK installations" and "Maven Installations"
On Jenkins 2.46 & up:
Go to Manage Jenkins > Global Tool Configuration.
On that page, you can individually add the JDK and Maven paths by clicking on JDK installations... and Maven installations... buttons respectively.
In: Manage Jenkins > Global Tool Configuration, find JDK
To install local JDK files, uncheck "Install automatically", then you can paste your local file location in JAVA_HOME
To download automatically, choose your option from Add Installer
I had tried both method, however only first one works for me. Hope this help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With