From c758ff60300f24caac691b966835944c76a1838d Mon Sep 17 00:00:00 2001 From: dak180 Date: Wed, 23 Mar 2011 00:42:37 -0400 Subject: [PATCH] Add some error and status messages to the buildbot scripts. --- macosx/BuildBot/03_upload.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/macosx/BuildBot/03_upload.sh b/macosx/BuildBot/03_upload.sh index 5f41fc59f..1ca64fb2e 100755 --- a/macosx/BuildBot/03_upload.sh +++ b/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