summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/retired/start-ssh-jenkins-021.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/retired/start-ssh-jenkins-021.sh')
-rwxr-xr-xjenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/retired/start-ssh-jenkins-021.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/retired/start-ssh-jenkins-021.sh b/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/retired/start-ssh-jenkins-021.sh
new file mode 100755
index 0000000..2c8d348
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/retired/start-ssh-jenkins-021.sh
@@ -0,0 +1,29 @@
+#! /bin/sh
+
+cd /Users/jogamp/jenkins
+
+#scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar slave-021.jar
+curl -o agent-021.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 GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-aarch64.xml
+
+export SDKROOT=iphoneos13.2
+xcrun --show-sdk-path
+
+export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+
+java -version
+which git
+ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6021:localhost:5555 -N &
+SSHPID=$!
+echo Launched SSH $SSHPID
+java -server -Xmx1024m -XX:+UseCompressedOops -jar agent-021.jar -jnlpUrl https://jogamp.org/chuck/computer/ios-arm64-aarch64-jau-021/slave-agent.jnlp
+