Author: nickboldt
Date: 2010-12-02 18:39:33 -0500 (Thu, 02 Dec 2010)
New Revision: 27130
Modified:
trunk/build/publishComponentZipToStaging.sh
trunk/build/publishUpdateZipToStaging.sh
Log:
generate MD5 sums for zips published for use with JBDS
Modified: trunk/build/publishComponentZipToStaging.sh
===================================================================
--- trunk/build/publishComponentZipToStaging.sh 2010-12-02 21:48:43 UTC (rev 27129)
+++ trunk/build/publishComponentZipToStaging.sh 2010-12-02 23:39:33 UTC (rev 27130)
@@ -35,8 +35,10 @@
#echo "Fetch ${path} as ${targetZip}"
# to test locally, may need to use --protocol=29 and -P instead of -q
date; rsync -arzq --rsh=ssh ${DESTINATION}/builds/staging/${JOBNAMEREDUX}/${path}
${targetZip}
+ # generate MD5 sums for each zip
+ md5sum ${targetZip} > ${targetZip}.MD5
#echo "Publish ${path} as ${targetZip}"
# to test locally, may need to use --protocol=29 and -P instead of -q
- date; rsync -arzq --rsh=ssh ${targetZip} ${DESTINATION}/updates/staging/$BRANCH/
-done
\ No newline at end of file
+ date; rsync -arzq --rsh=ssh ${targetZip} ${targetZip}.MD5
${DESTINATION}/updates/staging/$BRANCH/
+done
Modified: trunk/build/publishUpdateZipToStaging.sh
===================================================================
--- trunk/build/publishUpdateZipToStaging.sh 2010-12-02 21:48:43 UTC (rev 27129)
+++ trunk/build/publishUpdateZipToStaging.sh 2010-12-02 23:39:33 UTC (rev 27130)
@@ -20,7 +20,9 @@
#echo "Fetch ${path} as ${JOBNAMEREDUX}-Update.zip"
# to test locally, may need to use --protocol=29 and -P instead of -q
date; rsync -arzq --rsh=ssh ${DESTINATION}/builds/staging/${JOBNAMEREDUX}/${path}
${JOBNAMEREDUX}-Update.zip
+# generate MD5 sum for each zip
+md5sum ${JOBNAMEREDUX}-Update.zip > ${JOBNAMEREDUX}-Update.zip.MD5
#echo "Publish ${path} as ${JOBNAMEREDUX}-Update.zip"
# to test locally, may need to use --protocol=29 and -P instead of -q
-date; rsync -arzq --rsh=ssh ${JOBNAMEREDUX}-Update.zip ${DESTINATION}/updates/staging/
+date; rsync -arzq --rsh=ssh ${JOBNAMEREDUX}-Update.zip ${JOBNAMEREDUX}-Update.zip.MD5
${DESTINATION}/updates/staging/
Show replies by date