From a855f9cda3214886853a34c5777daa5bf926e229 Mon Sep 17 00:00:00 2001 From: Al Bowles Date: Mon, 15 Nov 2021 16:40:10 -0600 Subject: [PATCH] Additional columns --- build-report.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build-report.sh b/build-report.sh index b8f6c77d..0af08b65 100755 --- a/build-report.sh +++ b/build-report.sh @@ -3,7 +3,10 @@ set -e BUILD_NAME=$1 -printf '# %s\nTest | Result\n=============\n' "$BUILD_NAME" +printf '# %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