Author: nickboldt
Date: 2009-10-23 18:00:38 -0400 (Fri, 23 Oct 2009)
New Revision: 18276
Modified:
trunk/common/releng/hudson/run.sh
Log:
purge snapshop zips before a build
Modified: trunk/common/releng/hudson/run.sh
===================================================================
--- trunk/common/releng/hudson/run.sh 2009-10-23 21:59:23 UTC (rev 18275)
+++ trunk/common/releng/hudson/run.sh 2009-10-23 22:00:38 UTC (rev 18276)
@@ -4,6 +4,8 @@
# and is archived (for example) in
https://pi4soa.svn.sourceforge.net/svnroot/pi4soa/trunk/releng/hudson/run.sh
# Build runs under ${WORKSPACE} == .../jbosstools-cbi-*/workspace
+echo "[`date +%Y/%m/%d\ %H:%M`] Hudson job ${JOBNAME} build #${BUILD_NUMBER}
(${BUILD_ID}) started."
+
##############################################################################################
# BEGIN CONFIGURATION
@@ -17,8 +19,6 @@
##############################################################################################
-echo "[`date +%Y/%m/%d\ %H:%M`] Hudson job ${JOBNAME} build #${BUILD_NUMBER}
(${BUILD_ID}) started."
-
uname -a
if [[ -f $HUDSON_CONFIG_DIR/scripts/common/common_bash.sh ]]; then
. $HUDSON_CONFIG_DIR/scripts/common/common_bash.sh
@@ -188,10 +188,6 @@
ln -s ${thirdPartyJarsDir} ${writableBuildRoot}/
thirdPartyJarsDir="${writableBuildRoot}/3rdPartyJars"
-# symlink downloads (reuse existing content)
-ln -s ${downloadsDir} ${writableBuildRoot}/
-downloadsDir="${writableBuildRoot}/downloads"
-
# clean up any *-SNAPSHOT.zip files in ${downloadsDir}
find ${downloadsDir} -maxdepth 1 -type f -name "*-SNAPSHOT.zip" -exec rm -f {}
\;