| #!/bin/sh |
| |
| # remember to leave no slashes on filename in source command, |
| # (the commonVariations.shsource file, that is) |
| # so that users path is used to find it (first) |
| if [ -z $BUILD_INITIALIZED ] |
| then |
| source commonVariations.shsource |
| source ${RELENG_CONTROL}/commonComputedVariables.shsource |
| fi |
| |
| jmxport="7000" |
| webport="7777" |
| rmiport="1099" |
| # its ok for these to be trivial, just used to prevent |
| # accidental use, no real security needed. |
| trivialUserName="wtp" |
| trivialPw="ballad" |
| |
| rm -fr ./workspace |
| |
| CCNAME="Webtools-" |
| |
| # We want to execute CC itself in Java 5 |
| export JAVA_HOME=${JAVA_5_HOME} |
| |
| export JETTY_HOME=${CCDIR} |
| |
| sh ${CCDIR}/cruisecontrol.sh -configfile ${RELENG_CONTROL}/cc_config.xml -jmxport $jmxport -rmiport $rmiport -webport $webport -user $trivialUserName -password $trivialPw -cchome $CCDIR -ccname ${CCNAME} -webapppath ${CCDIR}/webapps/cruisecontrol -jettyxml ${CCDIR}/etc/jetty.xml -dashboardurl http://wtp.rtp.raleigh.ibm.com:7777/dashboard 1>out.txt 2>err.txt & |
| |