bkr-job-results man page
bkr-job-results — Export Beaker job results as XML
bkr job-results [–prettyxml] [options] <taskspec>…
Specify one or more <taskspec> arguments to be exported. An XML dump of the results for each argument will be printed to stdout.
The <taskspec> arguments follow the same format as in other bkr subcommands (for example, J:1234). See Specifying tasks in bkr(1).
- --format <format>
Shows results in the given format. The beaker-results-xml format (default) is a superset of the Beaker job definition XML syntax. The junit-xml format is compatible with the Ant JUnit runner’s XML output and is understood by Jenkins, Eclipse, and other tools.
Pretty-print the Beaker results XML (with indentation and line breaks, suitable for human consumption). JUnit XML is always pretty-printed regardless of this option.
Since Beaker 24.0, the results include links to all logs when using the beaker-results-xml format. This can substantially increase the size of the XML. Use this option to omit the logs (matching the behaviour of previous Beaker versions).
JUnit XML always includes logs regardless of this option.
Common bkr options are described in the Options section of bkr(1).
Non-zero on error, otherwise zero.
Display results for job 12345 in human-readable form (assuming the human can read XML):
bkr job-results --prettyxml J:12345
The Beaker team <firstname.lastname@example.org>
2013, Red Hat, Inc