david_williams | 8ac5e31 | 2006-11-14 03:29:16 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 3 | # remember to leave no slashes on filename in source command, |
david_williams | e529817 | 2007-12-20 03:30:54 +0000 | [diff] [blame] | 4 | # (the commonVariations.shsource file, that is) |
david_williams | e773c28 | 2006-11-14 07:48:16 +0000 | [diff] [blame] | 5 | # so that users path is used to find it (first) |
david_williams | b8f7a61 | 2008-02-19 04:29:15 +0000 | [diff] [blame] | 6 | if [ -z $BUILD_INITIALIZED ] |
david_williams | e773c28 | 2006-11-14 07:48:16 +0000 | [diff] [blame] | 7 | then |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 8 | source commonVariations.shsource |
| 9 | source ${RELENG_CONTROL}/commonComputedVariables.shsource |
david_williams | e773c28 | 2006-11-14 07:48:16 +0000 | [diff] [blame] | 10 | fi |
| 11 | |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 12 | jmxport="7000" |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 13 | webport="7777" |
david_williams | 2e0afe0 | 2008-01-02 04:11:40 +0000 | [diff] [blame] | 14 | rmiport="1099" |
david_williams | 673ba39 | 2008-01-02 17:41:13 +0000 | [diff] [blame] | 15 | # its ok for these to be trivial, just used to prevent |
| 16 | # accidental use, no real security needed. |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 17 | trivialUserName="wtp" |
| 18 | trivialPw="ballad" |
david_williams | 8ac5e31 | 2006-11-14 03:29:16 +0000 | [diff] [blame] | 19 | |
david_williams | 8ac5e31 | 2006-11-14 03:29:16 +0000 | [diff] [blame] | 20 | rm -fr ./workspace |
| 21 | |
david_williams | 8827fe1 | 2006-11-27 19:35:39 +0000 | [diff] [blame] | 22 | CCNAME="Webtools" |
david_williams | 42f9b24 | 2006-11-27 18:45:14 +0000 | [diff] [blame] | 23 | |
david_williams | c2f2980 | 2007-01-13 07:13:16 +0000 | [diff] [blame] | 24 | # We want to execute CC itself in Java 5 |
| 25 | export JAVA_HOME=${JAVA_5_HOME} |
| 26 | |
david_williams | 39c5f65 | 2008-01-02 07:08:39 +0000 | [diff] [blame] | 27 | sh ${CCDIR}/cruisecontrol.sh -configfile ${RELENG_CONTROL}/cc_config.xml -jmxport $jmxport -rmiport $rmiport -webport $webport -user $trivialUserName -password $trivialPw -cchome $CCDIR -ccname ${CCNAME} 1>out.txt 2>err.txt & |
david_williams | 8ac5e31 | 2006-11-14 03:29:16 +0000 | [diff] [blame] | 28 | |