Author: nickboldt
Date: 2011-05-30 15:49:53 -0400 (Mon, 30 May 2011)
New Revision: 31648
Modified:
branches/jbosstools-3.2.x/build/publish.sh
Log:
don't run results page generator if there's no results/build.xml to run
Modified: branches/jbosstools-3.2.x/build/publish.sh
===================================================================
--- branches/jbosstools-3.2.x/build/publish.sh 2011-05-30 19:47:20 UTC (rev 31647)
+++ branches/jbosstools-3.2.x/build/publish.sh 2011-05-30 19:49:53 UTC (rev 31648)
@@ -199,7 +199,7 @@
ANT_SCRIPT=${buildxml}
fi
done
-ant -f ${ANT_SCRIPT} ${ANT_PARAMS}
+if [[ ${ANT_SCRIPT} ]] && [[ -f ${ANT_SCRIPT} ]]; then ant -f ${ANT_SCRIPT}
${ANT_PARAMS}; fi
# ${bl} is full build log; see above
mkdir -p ${STAGINGDIR}/logs
Show replies by date