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/c3d-linux64-nvfx580-003_004.ubuntu10/start-ssh-jenkins-linux.sh | |
parent | ee7083ecffa94be7f8753c41c6cad96d87e45d7a (diff) |
Update jenkins-server-slave-setup, i.e. our Jenkins remote nodes (agents)
Diffstat (limited to 'jenkins-server-slave-setup/nodes/c3d-linux64-nvfx580-003_004.ubuntu10/start-ssh-jenkins-linux.sh')
-rwxr-xr-x | jenkins-server-slave-setup/nodes/c3d-linux64-nvfx580-003_004.ubuntu10/start-ssh-jenkins-linux.sh | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/jenkins-server-slave-setup/nodes/c3d-linux64-nvfx580-003_004.ubuntu10/start-ssh-jenkins-linux.sh b/jenkins-server-slave-setup/nodes/c3d-linux64-nvfx580-003_004.ubuntu10/start-ssh-jenkins-linux.sh deleted file mode 100755 index 6e01327..0000000 --- a/jenkins-server-slave-setup/nodes/c3d-linux64-nvfx580-003_004.ubuntu10/start-ssh-jenkins-linux.sh +++ /dev/null @@ -1,61 +0,0 @@ -#! /bin/bash - -cd ~/jenkins - -scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . - -xrandr -s 1920x1080 - -function connect_3 { - . /opt-share/etc/profile.ant - . /opt-linux-x86/etc/profile.jre7 - . /opt-linux-x86/etc/profile.j2se7 - - export SOURCE_LEVEL=1.6 - export TARGET_LEVEL=1.6 - export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 5703:localhost:5555 -N & - sshpid=$! - java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/linux64-NVFX580-ubuntu10-jogamp-x32-c3d-003/slave-agent.jnlp - done -} - -function connect_4 { - . /opt-share/etc/profile.ant - . /opt-linux-x86_64/etc/profile.jre7 - . /opt-linux-x86_64/etc/profile.j2se7 - - export SOURCE_LEVEL=1.6 - export TARGET_LEVEL=1.6 - export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar - - export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org" - - java -version - sshpid= - while true ; do - if [ ! -z "$sshpid" ] ; then - kill -9 $sshpid - fi - ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 5704:localhost:5555 -N & - sshpid=$! - java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/linux64-NVFX580-ubuntu10-jogamp-x64-c3d-004/slave-agent.jnlp - done -} - - -connect_3 > linux64-NVFX580-ubuntu10-jogamp-x32-c3d-003.log 2>&1 & -disown $! - -connect_4 > linux64-NVFX580-ubuntu10-jogamp-x64-c3d-004.log 2>&1 & -disown $! - |