[jbosstools-commits] JBoss Tools SVN: r22934 - trunk/build.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Jun 22 16:06:37 EDT 2010


Author: nickboldt
Date: 2010-06-22 16:06:37 -0400 (Tue, 22 Jun 2010)
New Revision: 22934

Modified:
   trunk/build/publish.sh
Log:
clean up console logging in Hudson - less verbose

Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh	2010-06-22 20:03:39 UTC (rev 22933)
+++ trunk/build/publish.sh	2010-06-22 20:06:37 UTC (rev 22934)
@@ -9,7 +9,7 @@
 rm -fr ${WORKSPACE}/site; mkdir -p ${WORKSPACE}/site/${JOB_NAME}
 for z in ${WORKSPACE}/sources/site/target/site.zip ${WORKSPACE}/sources/site/target/site_assembly.zip; do
 	if [[ -f $z ]]; then
-		echo "$z ..."
+		#echo "$z ..."
 		# note the job name, build number, and build ID of the latest snapshot zip
 		echo "JOB_NAME = ${JOB_NAME}" > ${WORKSPACE}/site/${JOB_NAME}/JOB_NAME.txt
 		echo "BUILD_NUMBER = ${BUILD_NUMBER}" > ${WORKSPACE}/site/${JOB_NAME}/BUILD_NUMBER.txt
@@ -25,20 +25,20 @@
 
 # if component zips exist, copy them too; first site.zip, then site_assembly.zip
 for z in $(find ${WORKSPACE}/sources/*/site/target -type f -name "site*.zip" | sort -r); do 
-	if [[ -f $z ]]; then
+	#if [[ -f $z ]]; then
 		y=${z%%/site/target/*}; y=${y##*/}
-		echo "[$y] $z ..."
+		#echo "[$y] $z ..."
 		# unzip into workspace for publishing as unpacked site
 		mkdir -p ${WORKSPACE}/site/${JOB_NAME}/$y
 		unzip -u -o -q -d ${WORKSPACE}/site/${JOB_NAME}/$y $z
 		# copy into workspace for access by bucky aggregator (same name every time)
 		rsync -aq $z ${WORKSPACE}/site/${JOB_NAME}/${y}-Update-SNAPSHOT.zip
-	fi
+	#fi
 done
 
 # if zips exist produced & renamed by ant script, copy them too
 for z in $(find ${WORKSPACE} -maxdepth 5 -mindepth 3 -name "*Update*.zip"); do 
-	echo "$z ..."
+	#echo "$z ..."
 	unzip -u -o -q -d ${WORKSPACE}/site/${JOB_NAME}/ $z
 	rsync -aq $z ${WORKSPACE}/site/${SNAPNAME}
 done



More information about the jbosstools-commits mailing list