diff options
author | Sven Gothel <[email protected]> | 2023-01-23 01:23:50 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-01-23 01:23:50 +0100 |
commit | 33536d1ae923149a0b7113d57cf8a96e42ab7d16 (patch) | |
tree | 6bc83c9ed1da9e6b9abceafdec608c563a19d1de /jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh | |
parent | ee7083ecffa94be7f8753c41c6cad96d87e45d7a (diff) |
Update jenkins-server-slave-setup, i.e. our Jenkins remote nodes (agents)
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh')
-rwxr-xr-x | jenkins-server-slave-setup/nodes/sgothel-macos64-multi-012/start-ssh-jenkins-012.sh | 27 |
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 + |