[jbosstools-commits] JBoss Tools SVN: r24119 - trunk/build.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Aug 12 14:21:05 EDT 2010
Author: nickboldt
Date: 2010-08-12 14:21:04 -0400 (Thu, 12 Aug 2010)
New Revision: 24119
Modified:
trunk/build/publish.sh
Log:
move component zips from inside ${WORKSPACE}/sources/aggregate/site/zips to ${STAGINGDIR}/components for publication to dl.jb.org
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2010-08-12 18:03:14 UTC (rev 24118)
+++ trunk/build/publish.sh 2010-08-12 18:21:04 UTC (rev 24119)
@@ -90,6 +90,15 @@
done
fi
+# collect component zips from upstream aggregated build jobs
+if [[ ${JOB_NAME/.aggregate} != ${JOB_NAME} ]] && [[ -d ${WORKSPACE}/sources/aggregate/site/zips ]]; then
+ mkdir -p ${STAGINGDIR}/components
+ for z in $(find ${WORKSPACE}/sources/aggregate/site/zips -name "*Update*.zip") $(find ${WORKSPACE}/sources/aggregate/site/zips -name "*Sources*.zip"); do
+ mv $z ${STAGINGDIR}/components
+ done
+fi
+
+# generate list of zips in this job
METAFILE=zip.list.txt
echo "ALL_ZIPS = \\" >> ${STAGINGDIR}/logs/${METAFILE}
for z in $(find ${STAGINGDIR} -name "*Update*.zip") $(find ${STAGINGDIR} -name "*Sources*.zip"); do
More information about the jbosstools-commits
mailing list