diff options
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-win64-amd-016_017/start-ssh-jenkins.sh')
-rwxr-xr-x | jenkins-server-slave-setup/nodes/sgothel-win64-amd-016_017/start-ssh-jenkins.sh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-amd-016_017/start-ssh-jenkins.sh b/jenkins-server-slave-setup/nodes/sgothel-win64-amd-016_017/start-ssh-jenkins.sh deleted file mode 100755 index afc12a2..0000000 --- a/jenkins-server-slave-setup/nodes/sgothel-win64-amd-016_017/start-ssh-jenkins.sh +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh - -cd ~/jenkins - -scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . - -function connect_1 { - 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 6016:localhost:5555 -N & - sshpid=$! - ./win64-amd-win7-jogamp-x32-sgothel-016.bat - done -} - -function connect_2 { - 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 6017:localhost:5555 -N & - sshpid=$! - ./win64-amd-win7-jogamp-x64-sgothel-017.bat - done -} - - -connect_1 > win64-amd-win7-jogamp-x32-sgothel-016.log 2>&1 & -disown $! - -connect_2 > win64-amd-win7-jogamp-x64-sgothel-017.log 2>&1 & -disown $! - |