Skip to content

Commit

Permalink
Merge pull request #32955 from vespa-engine/aressem/fix-annotate
Browse files Browse the repository at this point in the history
Format annotation in markdown.
  • Loading branch information
hmusum authored Nov 27, 2024
2 parents c458729 + e49514a commit 6534434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .buildkite/execute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ function report()
echo "Reporting...."
if [[ $BUILDKITE == true ]]; then
if [[ -f $LOG_DIR/error-$STEP.log ]]; then
tail -100 "$LOG_DIR/error-$STEP.log" | head -80 \
# shellcheck disable=2016
(echo '```term'; tail -100 "$LOG_DIR/error-$STEP.log" | head -80; echo '```') \
| buildkite-agent annotate --style 'error' --context 'ctx-error'
fi
fi
Expand Down

0 comments on commit 6534434

Please sign in to comment.