On Monday, March 16, 2015 at 9:27:37 AM UTC-4, Patrick Bateman wrote:
>
> env.PATH="${tool 'Maven 3.2.5'}/bin:${env.PATH}"
>
>
Try adding

env.JAVA_HOME = tool 'JDK 8'

or whatever your preferred JDK installation is called in global 
configuration.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/674e86ee-90c0-443d-bb6a-78b69ace4dd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to