mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
14 lines
382 B
Bash
14 lines
382 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
BUILD_NAME=$1
|
||
|
|
||
|
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 | \
|
||
|
sed 's,^,| ,g;s,$, | | | |,g'
|