diff options
author | Sven Gothel <[email protected]> | 2012-03-07 04:39:23 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-03-07 04:39:23 +0100 |
commit | 3c08b2e281266ba06901355e4014e19b9d05f2a7 (patch) | |
tree | 0c005a131ecb7d55f2476b6d0945fb70f67d02ec /jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011 | |
parent | 09df8b2c7844428028bb83f900d8767000952316 (diff) |
Add sgothel's jenkins node setup (launch & config)
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011')
4 files changed, 71 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/Cygwin-sshd-jenkins.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/Cygwin-sshd-jenkins.bat new file mode 100755 index 0000000..dc406e2 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/Cygwin-sshd-jenkins.bat @@ -0,0 +1,4 @@ +@echo off
+c:
+chdir c:\cygwin\bin
+bash --login -c "/usr/sbin/sshd ; /home/jogamp/jenkins/start-ssh-jenkins.sh" diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/start-ssh-jenkins.sh b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/start-ssh-jenkins.sh new file mode 100755 index 0000000..d55c2c0 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/start-ssh-jenkins.sh @@ -0,0 +1,37 @@ +#! /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 6010:localhost:5555 -N & + sshpid=$! + ./win64-nvgtx460-win7-jogamp-x32-sgothel-010.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 6011:localhost:5555 -N & + sshpid=$! + ./win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat + done +} + + +connect_1 > win64-nvgtx460-win7-jogamp-x32-sgothel-010.log 2>&1 & +disown $! + +connect_2 > win64-nvgtx460-win7-jogamp-x64-sgothel-011.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat new file mode 100755 index 0000000..740160f --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x32-sgothel-010.bat @@ -0,0 +1,15 @@ +set J2RE_HOME=c:\jre1.6.0_30_x32 +set JAVA_HOME=c:\jdk1.6.0_30_x32 +set ANT_PATH=C:\apache-ant-1.8.2 +set GIT_PATH=C:\cygwin\bin +set SEVENZIP=C:\Program Files\7-Zip + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%GIT_PATH%;%SEVENZIP%;%PATH% + +REM -Dc.compiler.debug=true +REM -DuseOpenMAX=true +REM -DuseKD=true +REM -Djogl.cg=1 -D-Dwindows.cg.lib=C:\Cg-2.2 +REM -Dbuild.noarchives=true + +java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/win64-nvgtx460-win7-jogamp-x32-sgothel-010/slave-agent.jnlp diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat new file mode 100755 index 0000000..8e27bd4 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-nvgtx460-010_011/win64-nvgtx460-win7-jogamp-x64-sgothel-011.bat @@ -0,0 +1,15 @@ +set J2RE_HOME=c:\jre1.6.0_30_x64 +set JAVA_HOME=c:\jdk1.6.0_30_x64 +set ANT_PATH=C:\apache-ant-1.8.2 +set GIT_PATH=C:\cygwin\bin +set SEVENZIP=C:\Program Files\7-Zip + +set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;%GIT_PATH%;%SEVENZIP%;%PATH% + +REM -Dc.compiler.debug=true +REM -DuseOpenMAX=true +REM -DuseKD=true +REM -Djogl.cg=1 -D-Dwindows.cg.lib=C:\Cg-2.2 +REM -Dbuild.noarchives=true + +java -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/win64-nvgtx460-win7-jogamp-x64-sgothel-011/slave-agent.jnlp |