Include BUILD_NAME in report header

This commit is contained in:
Al Bowles 2021-11-14 20:44:00 -06:00
parent f47268e7d4
commit 6b67dd19d8

View File

@ -3,7 +3,7 @@ set -e
BUILD_NAME=$1
printf 'Test | Result\n=============\n'
printf '# %s\nTest | Result\n=============\n' "$BUILD_NAME"
openqa-cli api -X GET jobs build="$BUILD_NAME" | \
jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \
sort