I am running integration-tests on Jenkins and I am currently having
problems with the JAVA_HOME variable...
On the system, the JAVA_HOME is set to a SUN JDK 1.6. For my builds
(with Maven) and the tests (JBoss) I need an IBM JDK 1.6.
The builds work perfectly, but no matter what I try, I can't get the
JBoss to start with the IBM JDK!
The best solution of course would be to change the default JAVA_HOME,
but unfortunately I am not allowed to do this (I have no access to the
machine) nor do they want to change it -- probably because other builds
or programs will be influenced.
Is there a way to have Jenkins set the JAVA_HOME for the 'non-Maven'
part of the build? And probably the PATH variable is set too, so I will
need to override that as well.
Is this possible? And how?
Thanks.
--
Roland Asmann
Senior Software Engineer
adesso Austria GmbH
Floridotower 26. Stock T +43 1 2198790-27
Floridsdorfer Hauptstr. 1 F +43 1 2198790-927
A-1210 Wien M +43 664 88657566
E roland...@adesso.at
W www.adesso.at
-------------------------------------------------------------
>>> business. people. technology. <<<
-------------------------------------------------------------
Manuel
Manuel