summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2018-12-11 00:27:47 +0100
committerSven Gothel <[email protected]>2018-12-11 00:27:47 +0100
commit1dc3a5f7aa3d567f9f1a70dc2bfba1442b45010f (patch)
tree9ffbf3cf499ab97c4c27b1dfb6c7da6edeb93195
parent3f953c5bb8d1f8ec579ee648225553e62f38a726 (diff)
jenkins server needs to pre-seed agent.jar to launch node on master
-rwxr-xr-xjenkins-server-slave-setup/scripts/start.jenkins.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/scripts/start.jenkins.sh b/jenkins-server-slave-setup/scripts/start.jenkins.sh
index 63cd3c3..5e0da0d 100755
--- a/jenkins-server-slave-setup/scripts/start.jenkins.sh
+++ b/jenkins-server-slave-setup/scripts/start.jenkins.sh
@@ -18,3 +18,6 @@ cd $JENKINS_HOME
nohup nice $JAVA -server -Xmx1024m -jar $JENKINS_WAR --httpPort=8080 --prefix=/chuck > $JENKINS_LOG 2>&1 &
# nohup nice $JAVA -server -Xmx1024m -jar $JENKINS_WAR --httpPort=-1 --httpsPort=8080 --prefix=/chuck > $JENKINS_LOG 2>&1 &
+#pre-seed current version of agent.jar
+curl -s -o $JENKINS_HOME/war/agent.jar https://jogamp.org/chuck/jnlpJars/agent.jar
+