Multiple JDKs for maven project

30 views
Skip to first unread message

jsch...@gmail.com

unread,
Oct 19, 2015, 3:13:41 PM10/19/15
to Jenkins Users
Hi all.

I'm trying to run java 6 and java 8 builds of the same module so that we can use Jenkins to do CI during our update to Java 8.  I am currently using the "Maven Project" job type for all modules that I have in Jenkins.  It's been recommended that I use the "Multi-configuration" job type to handle multiple JDKs for a single job.  I've not found a way to have a job with both the "Multi-configuration" mutliple JDK feature and "Maven Project" automatic dependency generation feature.  Is a combination of the two job types possible through a specific configuration or a plugin?  If not, is there a recommended configuration for JDK update procedure?  We are running Jenkins version 1.609.3 until we finish the migration to JDK 8.

Thank you for your time,
Joshua Scheel

Baptiste Mathus

unread,
Oct 25, 2015, 6:25:57 AM10/25/15
to jenkins...@googlegroups.com

Not possible to my knowledge, you'll have to switch from maven job to matrix job and handle the dependency by hand.
Cheers

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ab64b244-c5c5-45b9-95b3-f9f5a5268819%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages