Wrapper script to print simple build report in Markdown format
This commit is contained in:
parent
84a1d9440d
commit
b9bd20fab0
9
build-report.sh
Executable file
9
build-report.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/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
|
Loading…
Reference in New Issue
Block a user