I have java 1.8 installed and environment variable set on my windows 10 laptop. But when I run my maven project through Jenkins pipeline, Jenkins cannot find JAVA_HOME variable by itself. Would anyone guide me so resolve this issue, please?
Go to Jenkins -> Manage Jenkins -> Configure System -> Global properties Check the box 'Environment variables' and add the JAVA_HOME path
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