On 12.12.2015, at 18:44, Indra Gunawan (ingunawa) <ingun...@cisco.com> wrote:

> With the Java 7 to run requirement, I want to confirm the following:
> 1. Jenkins master and all its slave needs to run JDK 7 or above (JDK7 or
> above to run Jenkins master process and SSH slave to connect needs to run
> JDK 7 or above).

It needs to be a JRE that runs Jenkins, but since the JDK includes one, JDK 7 
is adequate.

> 2. Maven type job then should work because SSH slave already runs JDK 7 or
> above.

Yes (see previous item) and no (see next item).

> 3. However, if the maven project still needs JDK 6, I can still set the
> JDK in the job configuration or Injecting JAVA_HOME to JDK 6 and it will
> use JDK 6 to build the pom.xml and project right?

No. If it is actually a Maven Project, not a freestyle project, there is no way 
to run it using JDK 6 in Jenkins 1.612 and up. I think toolchains (a Maven 
feature) may work, but have never tried it.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/30EE23F8-7344-4C15-8C04-53BE75776FDF%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to