I have set up an external Jenkins master to provision maven slave jobs
on my Openshift. The maven slave is launched but its execution is failing
with the following error:
Had it been working it would have tried to download remoting.jar from the master so I suspect
it failed to connect to the master buy why? (my services endpoints are properly set)
OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='8796093022207', using /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/jre/bin/java
| OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='8796093022207', using /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/bin/javac
| /usr/local/bin/run-jnlp-client: line 163: exec: a6e179e089c54d05fc7b6cf5d9f8a3f604fd85323f6577b08e9a61a0e482b631maven-n3zhj: not found
So I figured out the issue:
In the container template section, un the argument to pass to the command field
we usually put ${computer.jnlpmac} ${computer.name}.
I was missing the space between the two.
Hi All
I have set up an external Jenkins master to provision maven slave jobs on my Openshift. The maven slave is launched but its execution is failing with the following error: Had it been working it would have tried to download remoting.jar from the master so I suspect it failed to connect to the master buy why? (my services endpoints are properly set)
OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='8796093022207', using /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/jre/bin/java
| OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='8796093022207', using /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-3.b13.el7_5.x86_64/bin/javac | /usr/local/bin/run-jnlp-client: line 163: exec: a6e179e089c54d05fc7b6cf5d9f8a3f604fd85323f6577b08e9a61a0e482b631maven-n3zhj: not found