bkr-job-results man page

bkr-job-results — 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 beaker-results-xml, --format junit-xml

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

bkr(1)

Author

The Beaker team <beaker-devel@lists.fedorahosted.org>

Referenced By

bkr(1).

Jul 26, 2017 24.3 Beaker