Skip to content

Commit 22e50a3

Browse files
committed
Don't error the build if the failures are too big
1 parent aebc2f3 commit 22e50a3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hooks/command

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ cat "$annotation_path"
4646
if grep -q "<details>" "$annotation_path"; then
4747

4848
if ! check_size; then
49-
echo "--- :hurtrealbad: Sorry, annotation is too big to publish"
50-
exit 1
49+
echo "--- :warning: Failures too large to annotate"
50+
echo "The failures are too large to create a build annotation. Please inspect the failed JUnit artifacts manually."
51+
exit 0
5152
fi
5253

5354
echo "--- :buildkite: Creating annotation"

0 commit comments

Comments
 (0)