diff --git a/build-report.sh b/build-report.sh new file mode 100755 index 00000000..b40e5059 --- /dev/null +++ b/build-report.sh @@ -0,0 +1,9 @@ +#!/bin/bash +set -e + +BUILD_NAME=$1 + +printf 'Test | Result\n=============\n' +openqa-cli api -X GET jobs build="$BUILD_NAME" | \ + jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \ + sort