Author: nickboldt
Date: 2011-09-08 22:57:27 -0400 (Thu, 08 Sep 2011)
New Revision: 34595
Modified:
branches/jbosstools-3.2.x/build/target-platform/publish.sh
Log:
add protocol=28 to make old slaves more friendly when publishing bits
Modified: branches/jbosstools-3.2.x/build/target-platform/publish.sh
===================================================================
--- branches/jbosstools-3.2.x/build/target-platform/publish.sh 2011-09-09 02:53:01 UTC
(rev 34594)
+++ branches/jbosstools-3.2.x/build/target-platform/publish.sh 2011-09-09 02:57:27 UTC
(rev 34595)
@@ -67,7 +67,7 @@
du -sh ${repoDir} ${destinationPath}/${targetZipFile}
# copy/update into central place for reuse by local downstream build jobs
- date; rsync -arzqc --delete-after --delete-excluded --rsh=ssh ${exclude} ${include}
${destinationPath}/${targetZipFile}/
+ date; rsync -arzqc --protocol=28 --delete-after --delete-excluded --rsh=ssh ${exclude}
${include} ${destinationPath}/${targetZipFile}/
du -sh ${repoDir} ${destinationPath}/${targetZipFile}
@@ -76,7 +76,7 @@
mkdir -p ${DESTINATION}/
fi
# if the following line fails, make sure that ${DESTINATION} is already created on
target server
- date; rsync -arzqc --delete-after --delete-excluded --rsh=ssh ${exclude} ${include}
${DESTINATION}/latest/
+ date; rsync -arzqc --protocol=28 --delete-after --delete-excluded --rsh=ssh ${exclude}
${include} ${DESTINATION}/latest/
targetZip=/tmp/${targetZipFile}.zip
@@ -87,6 +87,6 @@
# generate MD5 sum for zip (file contains only the hash, not the hash + filename)
for m in $(md5sum ${targetZip}); do if [[ $m != ${targetZip} ]]; then echo $m >
${targetZip}.MD5; fi; done
- date; rsync -arzq --rsh=ssh ${targetZip} ${targetZip}.MD5 ${DESTINATION}/
+ date; rsync -arzq --protocol=28 --rsh=ssh ${targetZip} ${targetZip}.MD5 ${DESTINATION}/
rm -f ${targetZip} ${targetZip}.MD5
fi
Show replies by date