os-autoinst-distri-rocky-mi.../build-report.sh

10 lines
209 B
Bash
Executable File

#!/bin/bash
set -e
BUILD_NAME=$1
printf 'Test | Result\n=============\n'
openqa-cli api -X GET jobs build="$BUILD_NAME" | \
jq -r '.jobs[] | {name,result} | join(" | ") | split("-") | last' | \
sort