Skip to content

Commit

Permalink
[CI] Update error display in log-results
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Dec 12, 2024
1 parent 6e015df commit 93d9b4c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .buildkite/log-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ for f in $files; do
"

FAILED_TESTS=`grep "E," $f`
FAILED_TESTS=`grep -A1 "E,.*" $f`
if [[ -n "$FAILED_TESTS" ]]; then
buildkite-agent annotate --append "#### Failures in $f "
buildkite-agent annotate --append `grep "E," $f | awk -F '-- :' '{print $2}'`
buildkite-agent annotate --append "Failures in $f
$FAILED_TESTS
"
fi
done

0 comments on commit 93d9b4c

Please sign in to comment.