Skip to content

Commit f48287b

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

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.buildkite/log-results.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ 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+
```
23+
"
2124
fi
2225
done

0 commit comments

Comments
 (0)