Additional columns

This commit is contained in:
Al Bowles 2021-11-15 16:40:10 -06:00
parent 6b67dd19d8
commit a855f9cda3

View File

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