mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-14 01:01:27 +00:00
dd209f70e3
* Add wrapper script * Default build name uses ROCKY_VERSION * Wrapper script to print simple build report in Markdown format * Some openqa-cli example commands * Include BUILD_NAME in report header * Additional columns * Extra hyphen * Added @tcooper's suggestion
17 lines
617 B
Markdown
17 lines
617 B
Markdown
## Query all jobs from a named build
|
|
|
|
openqa-cli api -X GET jobs build=$BUILDNAME
|
|
|
|
## Failed jobs in a named build
|
|
The overview on the openQA home page counts incompletes as failures
|
|
|
|
openqa-cli api -X GET jobs build=$BUILDNAME result=failed,incomplete
|
|
|
|
## Print a simple report of all tests and their results from a named build
|
|
|
|
openqa-cli api -X GET jobs build=$BUILDNAME | jq -r '.jobs[] | {name,result} | join(" ") | split("-") | last' | sort
|
|
|
|
## Further Reading
|
|
[openqa-cli cheat sheet](https://openqa-bites.github.io/openqa/openqa-cli-cheat-sheet/)
|
|
[jq cheat sheet](https://lzone.de/cheat-sheet/jq)
|