os-autoinst-distri-rocky-mi.../EXAMPLES.md
2021-11-14 19:01:00 -06:00

617 B

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 jq cheat sheet