Skip to content

Commit fd4b01c

Browse files
committed
ci: log failed build directory cleanup
1 parent b2af0ad commit fd4b01c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎ci/scripts/build_example.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ for attempt in 1 2 3; do
3131
fi
3232
if [[ "${attempt}" != "3" ]]; then
3333
sleep 2
34+
else
35+
echo "Failed to remove build directory after 3 attempts: ${build_dir}" >&2
3436
fi
3537
done
3638
mkdir "${build_dir}"

‎ci/scripts/build_iceberg.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,7 @@ for attempt in 1 2 3; do
107107
fi
108108
if [[ "${attempt}" != "3" ]]; then
109109
sleep 2
110+
else
111+
echo "Failed to remove build directory after 3 attempts: ${build_dir}" >&2
110112
fi
111113
done

0 commit comments

Comments
 (0)