Skip to content

Commit 33d0c88

Browse files
committed
[CI] Update error display in log-results
1 parent 240257e commit 33d0c88

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.buildkite/log-results.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ for f in $files; do
1414
1515
"
1616

17-
FAILED_TESTS=`grep "E," $f`
17+
FAILED_TESTS=`grep -A1 "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+
$FAILED_TESTS
22+
"
2123
fi
2224
done

0 commit comments

Comments
 (0)