Add some error and status messages to the buildbot scripts.
parent
fe4d13f335
commit
c758ff6030
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue