Re: [JENKINS] Java 8 job doesn't use Java 8 at all

2015-06-03 Thread Pierre-Luc Dion
could it be possible to use JAVA_HOME=/usr/lib/jvm/jdk1.8.0_45 ? got Chef roles for dedicated jdk18 jenkins slave and one that use 1.7 as default and 1.8 in: JAVA_HOME=/usr/lib/jvm/jdk1.8.0_45 On Wed, Jun 3, 2015 at 10:25 PM, Pierre-Luc Dion wrote: > Hi Wilder, > > sorry for the very late r

Re: [JENKINS] Java 8 job doesn't use Java 8 at all

2015-06-03 Thread Pierre-Luc Dion
Hi Wilder, sorry for the very late response, I'll check that while automating jenkins slave deployment ... On Tue, May 19, 2015 at 3:24 AM, Wilder Rodrigues < wrodrig...@schubergphilis.com> wrote: > Hi Pierre-Luc, > > Is that possible to have Java OpenJDK 8 Devel installed and marked as > th

Re: [JENKINS] Java 8 job doesn't use Java 8 at all

2015-05-19 Thread Wilder Rodrigues
Hi Rafael, I know that. The problem here is because we have a job called jdk18 which actually just build ACS using jdk 1.7 and the error was completely unrelated to the constant type. Concerning the PowerMock runner, it was not needed, so using the Mockito runner will get it working fine. I

Re: [JENKINS] Java 8 job doesn't use Java 8 at all

2015-05-19 Thread Rafael Fonseca
Hi :) The jdk 7 is always installed because of the requires in the spec file. BuildRequires: java-1.7.0-openjdk-devel BuildRequires: ws-commons-util The ws-commons-util is downloaded through maven and is not needed as a OS package, in rhel 7 this depends on java 7, so it's always installed if li

Re: [JENKINS] Java 8 job doesn't use Java 8 at all

2015-05-19 Thread Wilder Rodrigues
Hi Pierre-Luc, Is that possible to have Java OpenJDK 8 Devel installed and marked as the alternative in the slave that builds the jdk18 job? It’s also important to say that both java and java point to the correct version. I am now testing a fix I added for a couple of test suites that were usin

[JENKINS] Java 8 job doesn't use Java 8 at all

2015-05-18 Thread Wilder Rodrigues
Hi guys, After [a guy] reported that the Java 8 build was broken due to a failure in an Unit Test, I traced the route cause and tried to build ACS using the OpenJDK 1.8 in my test environment. Unfortunately, it did not work due to an error when loading the Mockito classes : Error: java.io.IOEx