Cirrus: Don't fail a task if it saved a checkpoint

pull/88/head
Jeremy Rand 3 years ago
parent 07b6abb612
commit 2c78220334
No known key found for this signature in database
GPG Key ID: FD7550C2EB800711

@ -64,7 +64,8 @@ fi
if [[ "$SHOULD_BUILD" -eq 1 ]]; then
echo "Building project..."
./rbm/rbm build "$PROJECT" --target "$CHANNEL" --target ncdns-"$OS"-"$ARCH"
# If rbm fails, we consider it a success as long as it saved a checkpoint.
./rbm/rbm build "$PROJECT" --target "$CHANNEL" --target ncdns-"$OS"-"$ARCH" || ls ./tmp/interrupted_dirs/*
else
#echo "This is a cache-only task, skipping build."
echo "Skipping build."

Loading…
Cancel
Save