Skip to content

Commit 10caab0

Browse files
committed
[CI] Log Results error format
1 parent 940039b commit 10caab0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.buildkite/log-results.sh

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

17-
FAILED_TESTS=`grep -A1 "E,.*" $f`
17+
FAILED_TESTS=`grep -A1 "E,.*" $f | sed 's/\#/-/g' | sed 's/^--/\n/g'`
1818
if [[ -n "$FAILED_TESTS" ]]; then
19-
buildkite-agent annotate --append "Failures in $f
20-
19+
buildkite-agent annotate --append "<details>"
20+
buildkite-agent annotate --append "<summary>Failures in $f</summary>
2121
$FAILED_TESTS
22-
"
22+
</details>"
2323
fi
2424
done

0 commit comments

Comments
 (0)