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 96d41c7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .buildkite/log-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ for f in $files; do

FAILED_TESTS=`grep "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
"
buildkite-agent annotate --append `grep -A1 "^E, .*" $f`
buildkite-agent annotate --append "
"
fi
done

0 comments on commit 96d41c7

Please sign in to comment.