blob: 6e013278bf75e50c91242da4892c34dbb5fd2970 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#! /bin/bash
cd ~/jenkins
scp chuckslave@jogamp.org:/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" chuckslave@jogamp.org -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" chuckslave@jogamp.org -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 $!
|