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 dfb7232f28 - Show all commits

View File

@ -3,10 +3,11 @@ set -e
BUILD_NAME=$1
printf '# %s\n' "$BUILD_NAME"
printf '# Build%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
sort | \
sed 's,^,| ,g;s,$, | | | |,g'