Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

Commit

Permalink
Update docker-entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Grünewaldt authored Jul 31, 2017
1 parent e8b8984 commit 549161d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@ echo "DOCKER-ENTRYPOINT >> config: JENKINS_URL: $JENKINS_URL"
echo "DOCKER-ENTRYPOINT >> config: JENKINS_JNLP_URL: $JENKINS_JNLP_URL"

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

echo "DOCKER-ENTRYPOINT >> checking integrity of slave.jar"
jar -tvf /home/jenkins/.bin/jenkins-slave.jar

echo "DOCKER-ENTRYPOINT >> establishing JNLP connection with Jenkins"
exec java $JAVA_OPTS -cp /home/jenkins/.bin/jenkins-slave.jar \
Expand Down

0 comments on commit 549161d

Please sign in to comment.