summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh')
-rwxr-xr-xjenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh b/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh
new file mode 100755
index 0000000..cd73f06
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh
@@ -0,0 +1,27 @@
+#! /bin/sh
+
+cd /Users/jogamp/jenkins
+
+#scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar slave-012.jar
+curl -o agent-012.jar https://jogamp.org/chuck/jnlpJars/agent.jar
+
+. ./profile.ant
+JAVA_HOME=`/usr/libexec/java_home -version 17`
+PATH=$JAVA_HOME/bin:/usr/local/bin:$PATH
+export JAVA_HOME PATH
+export SOURCE_LEVEL=1.8
+export TARGET_LEVEL=1.8
+export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar
+
+export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+
+export SDKROOT=macosx11.3
+xcrun --show-sdk-path
+
+java -version
+which git
+ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6012:localhost:5555 -N &
+SSHPID=$!
+echo Launched SSH $SSHPID
+java -server -Xmx1024m -XX:+UseCompressedOops -jar agent-012.jar -jnlpUrl https://jogamp.org/chuck/computer/macos-x86_64-jau-012/slave-agent.jnlp
+