Sha256: 1e78830c9b6c6c93f5d313683868d5093adb1e073507abc533c313fcfd86d1c7

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

#!/usr/bin/env bash
#
# This script is intended to be run after the build in a Buildkite pipeline
echo "--- Test summary"
buildkite-agent artifact download "tmp/*.html" .

files="tmp/*.html"
for f in $files; do
  SERVICE=`echo $f | grep -o "\(appsearch\|enterprisesearch\|workplacesearch\)"`
  RUBY_VERSION=`echo $f | grep -Po "(\d+\.)+\d+"`
  EXAMPLES=`cat $f | grep -o "[0-9]\+ examples\?" | tail -1`
  FAILURES=`cat $f | grep -o "[0-9]\+ failures\?" | tail -1`
  PENDING=`cat $f | grep -o "[0-9]\+ pending" | tail -1`
  echo "--- :rspec: $EXAMPLES - :x: $FAILURES - :pinched_fingers: $PENDING :test_tube: $SERVICE :ruby: $RUBY_VERSION"
done

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
elastic-enterprise-search-8.9.0 .buildkite/log-results.sh
elastic-enterprise-search-8.8.0 .buildkite/log-results.sh