Exit if snapshot creation fails
svn path=/trunk/; revision=572
This commit is contained in:
parent
77d67f9f11
commit
1199ff88ac
2 changed files with 4 additions and 0 deletions
|
@ -127,6 +127,7 @@ done
|
|||
# Create snapshot
|
||||
if ! run_cmd "catalyst -c ${CATALYST_CONFIG} -s ${DATESTAMP}" "${TMPDIR}/log/snapshot-${DATESTAMP}.log"; then
|
||||
send_email "Catalyst build error - snapshot" "$(tail -n 200 ${TMPDIR}/log/snapshot-${DATESTAMP}.log)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for i in ${SPECS}; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue