Permalink
Browse files

Add some error and status messages to the buildbot scripts.

  • Loading branch information...
1 parent 8b253a4 commit 37ba91c5c317a98fe4bcc46d5f1a2e8929dba6ae @dak180 dak180 committed Mar 23, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 macosx/BuildBot/03_upload.sh
View
9 macosx/BuildBot/03_upload.sh
@@ -26,18 +26,23 @@ bran="-${rtag}"
# Upload the dSYM bundle
-if ! scp -pql 320 ${lpth}${dmg_bn}${tar_dS} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}${tar_dS}; then
+echo "Starting to upload the dSYM bundle."
+if ! scp -pqCl 320 ${lpth}${dmg_bn}${tar_dS} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}${tar_dS}; then
+ echo "error: Upload did not complete!"
exit ${?}
fi
# Upload the .dmg
-if ! scp -pql 320 ${lpth}${dmg_bn}${dmg_nv} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}.dmg; then
+echo "Starting to upload the dmg image."
+if ! scp -pqCl 320 ${lpth}${dmg_bn}${dmg_nv} ${uurl}:${rpth}${opth}${dmg_bn}${bran}${revt}.dmg; then
+ echo "error: Upload did not complete!"
exit ${?}
fi
# Link up the current .dmg and dSYM bundle
if ! ssh ${uurl} -C "cd ${rpth} && ln -fs ${opth}${dmg_bn}${bran}${revt}.dmg ${dmg_bn}${bran}-current.dmg && ln -fs ${opth}${dmg_bn}${bran}${revt}${tar_dS} ${dmg_bn}${bran}-current${tar_dS}"; then
+ echo "error: Failed to link!"
exit ${?}
fi

0 comments on commit 37ba91c

Please sign in to comment.