no push to sabayon tinderbox

This commit is contained in:
Mario Fetka 2012-12-09 18:44:01 +01:00
parent 73bf990390
commit a7939508ec

View File

@ -17,7 +17,7 @@ fi
REMOTE_DIR="~/tinderbox/${DATE_DIR}/$(uname -m)/${MATTER_PORTAGE_FAILED_PACKAGE_NAME}" REMOTE_DIR="~/tinderbox/${DATE_DIR}/$(uname -m)/${MATTER_PORTAGE_FAILED_PACKAGE_NAME}"
echo "Uploading ${BUILD_LOG} to tinderbox.sabayon.org..." echo "Uploading ${BUILD_LOG} to tinderbox.sabayon.org..."
ssh ${SSH_ARGS} entropy@tinderbox.sabayon.org mkdir -p "${REMOTE_DIR}" #ssh ${SSH_ARGS} entropy@tinderbox.sabayon.org mkdir -p "${REMOTE_DIR}"
if [ "${?}" != "0" ]; then if [ "${?}" != "0" ]; then
echo "cannot connect to tinderbox" echo "cannot connect to tinderbox"
exit 1 exit 1
@ -30,13 +30,13 @@ if [ "${?}" != "0" ]; then
exit ${?} exit ${?}
fi fi
chmod 640 "${tmp_path}" chmod 640 "${tmp_path}"
scp ${SSH_ARGS} "${tmp_path}" entropy@tinderbox.sabayon.org:"${REMOTE_DIR}"/ #scp ${SSH_ARGS} "${tmp_path}" entropy@tinderbox.sabayon.org:"${REMOTE_DIR}"/
if [ "${?}" != "0" ]; then if [ "${?}" != "0" ]; then
rm "${tmp_path}" rm "${tmp_path}"
exit 1 exit 1
fi fi
rm "${tmp_path}" rm "${tmp_path}"
scp ${SSH_ARGS} "${BUILD_LOG}" entropy@tinderbox.sabayon.org:"${REMOTE_DIR}"/ || exit 1 #scp ${SSH_ARGS} "${BUILD_LOG}" entropy@tinderbox.sabayon.org:"${REMOTE_DIR}"/ || exit 1
exit 0 exit 0