bkr-job-results - Man Page
Export Beaker job results as XML
Synopsis
bkr job-results [--prettyxml] [options] <taskspec>...
Description
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).
Options
- --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.
- --prettyxml
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.
- --no-logs
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).
Exit Status
Non-zero on error, otherwise zero.
Examples
Display results for job 12345 in human-readable form (assuming the human can read XML):
bkr job-results --prettyxml J:12345
See Also
Author
The Beaker team <beaker-devel@lists.fedorahosted.org>
Copyright
2013-2024 Red Hat, Inc.