File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
#
3
3
# This script is intended to be run after the build in a Buildkite pipeline
4
- echo " --- Test summary"
4
+ buildkite-agent annotate " ## :rspec: Tests summary :rspec:
5
+ "
5
6
buildkite-agent artifact download " elasticsearch-api/tmp/*.html" .
6
7
7
8
files=" elasticsearch-api/tmp/*.html"
@@ -11,5 +12,7 @@ for f in $files; do
11
12
EXAMPLES=` cat $f | grep -o " [0-9]\+ examples\?" | tail -1`
12
13
FAILURES=` cat $f | grep -o " [0-9]\+ failures\?" | tail -1`
13
14
PENDING=` cat $f | grep -o " [0-9]\+ pending" | tail -1`
14
- echo " +++ :ruby: $RUBY_VERSION :test_tube: $TEST_SUITE :rspec: $EXAMPLES - :x: $FAILURES - :pinched_fingers: $PENDING "
15
+ buildkite-agent annotate --style info --append "
16
+ :ruby: $RUBY_VERSION :test_tube: $TEST_SUITE :rspec: $EXAMPLES - :x: $FAILURES - :suspect: $PENDING
17
+ "
15
18
done
You can’t perform that action at this time.
0 commit comments