NayanAgrawal
NayanAgrawal

Reputation: 13

JDK path configuration option is not available while configuring from jenkins

I am using Jenkins ver. 2.96. I navigated to Jenkins>Manage Jenkins>Configure System. I am not able to see the configuration of JDK and Maven.

Upvotes: 1

Views: 677

Answers (1)

Sasikumar Murugesan
Sasikumar Murugesan

Reputation: 4520

To Configure Java, Maven, Git

  1. Go to Jenkins url
  2. Go to Manage Jenkins -> Global Tool Configuration
  3. To Add JDK, Click Add JDK button under JDK then uncheck Install automatically(if you have already installed JDK in your machine) then specify the Name(Just for reference inside jenkins) and JDK home.
  4. To Add Maven, Navigate to Maven tab and Select Maven Installation then Click Add Maven button then specify Name and maven home.

I believe this will help you setup jdk and maven in your jenkins

Upvotes: 1

Related Questions