Add wrapper script #63

Merged
akatch merged 8 commits from wrapper_script into develop 2021-11-20 18:29:01 +00:00
Showing only changes of commit a855f9cda3 - Show all commits

View File

@ -3,7 +3,10 @@ set -e
BUILD_NAME=$1 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" | \ openqa-cli api -X GET jobs build="$BUILD_NAME" | \
jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \ jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \
sort sort