From 087822d02ee02b6b0af9a248baf5a90a06c4df65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Gr=C3=BCnewaldt?= Date: Mon, 31 Jul 2017 17:36:50 +0200 Subject: [PATCH] Update docker-entrypoint.sh --- docker-entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index f0bae94..05fb0e6 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -59,13 +59,13 @@ echo "DOCKER-ENTRYPOINT >> downloading jenkins-slave.jar from Jenkins" echo "DOCKER-ENTRYPOINT >> ${JENKINS_URL}/jnlpJars/slave.jar" curl -I ${JENKINS_URL}/jnlpJars/slave.jar -curl -sSLo /home/jenkins/.bin/jenkins-slave.jar ${JENKINS_URL}/jnlpJars/slave.jar +curl -sSLo /tmp/jenkins-slave.jar ${JENKINS_URL}/jnlpJars/slave.jar echo "DOCKER-ENTRYPOINT >> checking integrity of slave.jar" -jar -tvf /home/jenkins/.bin/jenkins-slave.jar +jar -tvf /tmp/jenkins-slave.jar echo "DOCKER-ENTRYPOINT >> establishing JNLP connection with Jenkins" -exec java $JAVA_OPTS -cp /home/jenkins/.bin/jenkins-slave.jar \ +exec java $JAVA_OPTS -cp /tmp/jenkins-slave.jar \ hudson.remoting.jnlp.Main -headless \ $JENKINS_JNLP_URL $JENKINS_SECRET $JENKINS_NAME