Skip to content

Commit

Permalink
[CI] Update awk for log-results
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Dec 11, 2024
1 parent 6e015df commit 9446d0c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .buildkite/log-results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ 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 "E," $f`
buildkite-agent annotate --append "
"
fi
done

0 comments on commit 9446d0c

Please sign in to comment.