Author: thomas.diesler(a)jboss.com
Date: 2008-03-20 08:14:24 -0400 (Thu, 20 Mar 2008)
New Revision: 6037
Modified:
framework/trunk/ant-import/build-hudson.xml
Log:
fail on hudson-start if JBOSS_REPOSITORY is set
Modified: framework/trunk/ant-import/build-hudson.xml
===================================================================
--- framework/trunk/ant-import/build-hudson.xml 2008-03-20 12:05:41 UTC (rev 6036)
+++ framework/trunk/ant-import/build-hudson.xml 2008-03-20 12:14:24 UTC (rev 6037)
@@ -140,6 +140,9 @@
<target name="hudson-start" depends="init-hudson"
description="Start the Hudson QA environment">
+ <property environment="env"/>
+ <fail message="unset JBOSS_REPOSITORY=${env.JBOSS_REPOSITORY}"
if="env.JBOSS_REPOSITORY"/>
+
<mkdir dir="${framework.dir}/output"/>
<exec executable="${hudson.tomcat}/bin/catalina.sh"
failonerror="true" output="${framework.dir}/output/hudson.log">
<env key="CATALINA_OPTS" value="-Xmx512m
-Djava.awt.headless=true"/>