Skip to content

Commit f81c710

Browse files
committed
[CI] Update error display in log-results
1 parent 6e015df commit f81c710

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.buildkite/log-results.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ for f in $files; do
1616

1717
FAILED_TESTS=`grep "E," $f`
1818
if [[ -n "$FAILED_TESTS" ]]; then
19-
buildkite-agent annotate --append "#### Failures in $f "
20-
buildkite-agent annotate --append `grep "E," $f | awk -F '-- :' '{print $2}'`
19+
buildkite-agent annotate --append "Failures in $f
20+
21+
"
22+
buildkite-agent annotate --append `grep -A1 "^E,.*" $f`
2123
fi
2224
done

0 commit comments

Comments
 (0)