diff --git a/.buildkite/execute.sh b/.buildkite/execute.sh index 111167b28ea..f2574185d85 100755 --- a/.buildkite/execute.sh +++ b/.buildkite/execute.sh @@ -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