Open bkoz opened 6 years ago
Same here on RHPDS 3.10:
`> Task :compileJava FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':compileJava'.
Could not find tools.jar. Please check that /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.i386/jre contains a valid JDK installation.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 2m 21s 1 actionable task: 1 executed`
Adding the environment variable OPENSHIFT_JENKINS_JVM_ARCH=x86_64 to the Dockerfile to build the slave image I fixed the problem "Could not find tools.jar".
Moreover I have to add implementation 'org.infinispan:infinispan-client-hotrod:6.3.1.Final-redhat-1' to the dependencies in the build.gradle in order the code compile without errors
This lab was run on RHDPS v3.9.14
Full console log at https://pastebin.com/raw/LNd5w4Kk