diff options
Diffstat (limited to 'jenkins-server-slave-setup/nodes/sgothel-win64-multi-010')
4 files changed, 79 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/Cygwin-sshd-jenkins.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/Cygwin-sshd-jenkins.bat new file mode 100755 index 0000000..dc406e2 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/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-multi-010/start-ssh-jenkins.sh b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/start-ssh-jenkins.sh new file mode 100755 index 0000000..ad6a3a4 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/start-ssh-jenkins.sh @@ -0,0 +1,26 @@ +#! /bin/sh + +cd ~/jenkins + +#scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar . +curl -O https://jogamp.org/chuck/jnlpJars/agent.jar + +function connect_2 { + sshpid= + while true ; do + if [ ! -z "$sshpid" ] ; then + kill -9 $sshpid + fi + if [ -e stop_node ] ; then + exit 1 + fi + ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6011:localhost:5555 -N & + sshpid=$! + ./windows-x86_64-jau-011.bat + done +} + + +connect_2 > windows-x86_64-jau-011.log 2>&1 & +disown $! + diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/windows-x86_32-jau-010.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/windows-x86_32-jau-010.bat new file mode 100755 index 0000000..64ad832 --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/windows-x86_32-jau-010.bat @@ -0,0 +1,25 @@ +set J2RE_HOME=c:\jdk-17 +set JAVA_HOME=c:\jdk-17 +set ANT_PATH=C:\apache-ant-1.10.5 +set GIT_PATH=C:\cygwin64\bin +set SEVENZIP=C:\Program Files\7-Zip + +set CMAKE_PATH=C:\cmake-3.25.1-windows-x64_64 +set CMAKE_C_COMPILER=c:\mingw64\bin\gcc + +set PATH=%J2RE_HOME%\bin;%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw32\bin;%CMAKE_PATH%\bin;%GIT_PATH%;%SEVENZIP%;%PATH% + +set SOURCE_LEVEL=1.8 +set TARGET_LEVEL=1.8 +set TARGET_RT_JAR=C:\jre1.8.0_212\lib\rt.jar + +set JOGAMP_JAR_CODEBASE=Codebase: *.jogamp.org + +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 + +REM java -server -Xmx1024m -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/win32-windows-jogamp-x32-sgothel-010/slave-agent.jnlp +java -server -Xmx1024m -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/windows-x86_32-jau-010/slave-agent.jnlp diff --git a/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/windows-x86_64-jau-011.bat b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/windows-x86_64-jau-011.bat new file mode 100755 index 0000000..5e43d1f --- /dev/null +++ b/jenkins-server-slave-setup/nodes/sgothel-win64-multi-010/windows-x86_64-jau-011.bat @@ -0,0 +1,24 @@ +set J2RE_HOME=c:\jdk-17 +set JAVA_HOME=c:\jdk-17 +set ANT_PATH=C:\apache-ant-1.10.5 +set GIT_PATH=C:\cygwin64\bin +set SEVENZIP=C:\Program Files\7-Zip + +set CMAKE_PATH=C:\cmake-3.25.1-windows-x64_64 +set CMAKE_C_COMPILER=c:\mingw64\bin\gcc + +set PATH=%J2RE_HOME%\bin;%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;%CMAKE_PATH%\bin;%GIT_PATH%;%SEVENZIP%;%PATH% + +set SOURCE_LEVEL=1.8 +set TARGET_LEVEL=1.8 +set TARGET_RT_JAR=C:\jre1.8.0_212\lib\rt.jar + +set JOGAMP_JAR_CODEBASE=Codebase: *.jogamp.org + +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 -XX:+UseCompressedOops -jar agent.jar -jnlpUrl https://jogamp.org/chuck/computer/windows-x86_64-jau-011/slave-agent.jnlp |