BKR-JOB-RESULTS(1)

πŸ“¦
version 29.2 Β· 3 versions
, in epel 9

πŸ’… BKR-JOB-RESULTS(1) β€” the Beaker one, bestie

okay so this is bkr-job-results from the Beaker manual, and honestly? it's giving "let me dump your job results as XML real quick" and we're obsessed πŸŽ€


✨ NAME ✨

bkr-job-results β€” export Beaker job results as XML, no cap 🫢


🌸 SYNOPSIS 🌸

bkr job-results [--prettyxml] [options] <taskspec>...

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: you hand it one or more <taskspec> arguments and it exports them. Literally an XML dump of the results for each argument gets printed to stdout. That's the whole assignment. πŸ’–

The <taskspec> arguments follow the exact same format as in other bkr subcommands (for example, J:1234). Wanna know more? See Specifying tasks in bkr(1). iykyk ⭐


πŸ’… OPTIONS πŸ’…

  • --format <format> β€” shows results in the given format, periodt. The beaker-results-xml format (the default, bestie) 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. iconic πŸ”₯
  • --prettyxml β€” pretty-prints the Beaker results XML, like with indentation and line breaks, suitable for human consumption (yes, humans read this, apparently πŸ™ˆ). Quick heads up though: JUnit XML is always pretty-printed regardless of this option. the way it just does that πŸ’€
  • --no-logs β€” okay so since Beaker 24.0, the results include links to all logs when using the beaker-results-xml format. That can substantially increase the size of the XML 😭. Use this option to omit the logs (matching the behaviour of previous Beaker versions). And ngl: JUnit XML always includes logs regardless of this option. iktr 🌈

The common bkr options are described in the Options section of bkr(1). go read it, bestie 🧚


πŸ‘‘ EXIT STATUS πŸ‘‘

Non-zero on error, otherwise zero. simple as that, fr fr ✨


πŸ“ EXAMPLES πŸ“

Display results for job 12345 in human-readable form (assuming the human can read XML):

bkr job-results --prettyxml J:12345

literally that's it, slay πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯


πŸŽ€ AUTHOR πŸŽ€

The Beaker team <beaker-devel@lists.fedorahosted.org> β€” love them for this 🫢


2013-2025 Red Hat, Inc.


okay final vibe check: this page is version 29.2, dated May 26, 2025, brought to you by Beaker, and honestly? it ate. main character energy from start to finish πŸ‘‘πŸ’…βœ¨
πŸ“¦ where this page comes from