2021-11-15 00:29:45 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
BUILD_NAME=$1
|
|
|
|
|
2021-11-15 02:44:00 +00:00
|
|
|
printf '# %s\nTest | Result\n=============\n' "$BUILD_NAME"
|
2021-11-15 00:29:45 +00:00
|
|
|
openqa-cli api -X GET jobs build="$BUILD_NAME" | \
|
|
|
|
jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \
|
|
|
|
sort
|