Andreas
unread,Mar 26, 2012, 5:54:15 AM3/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins...@googlegroups.com
Hi,
I face the issue that I have to use different JDKs for different build steps. Namely I need to invoke the compile step in ant with a 1.5 JDK and run the sonar ant target with a 1.6 JDK. There is no easy way to split this job, so a multi job setup is no solution here. Also I do not want to fork into a different JDK in ant manually - actually only Jenkins knows where the JDK is installed on the build node.
I face a similar requirement for maven goals.
I'm thinking about extending the ANT plugin to allow JDK selection in the advanced options and the set JAVA_HOME accordingly.
Is there an easy, already existing solution? Any ideas are welcome.
Kind Regards, Andreas.