Add wrapper script #63
@ -3,10 +3,11 @@ set -e
|
|||||||
|
|
||||||
BUILD_NAME=$1
|
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 "| Test | Result | Failure Reason | Effort to Fix | Notes |\n"
|
||||||
printf "| ---- | ------ | -------------- | ------------ | ----- |\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 | \
|
||||||
|
sed 's,^,| ,g;s,$, | | | |,g'
|
||||||
|
Loading…
Reference in New Issue
Block a user