bkr task-list: List tasks in Beaker’s task library¶
Synopsis¶
Description¶
Prints to stdout a list of matching tasks from the Beaker task library.
Options¶
-
--type
<type>
¶ Limit to tasks of type <type>. This corresponds to the
Type:
field in the task metadata and on the task page in Beaker’s web UI.This option may be specified more than once, in which case an “or” operator is applied. That is, a task will be listed if it matches any of the given types.
-
--package
<package>
¶ Limit to tasks which apply to <package>. This corresponds to the
RunFor:
field in the task metadata, and theRun For
field on the task page in Beaker’s web UI.This option may be specified more than once, in which case an “or” operator is applied. That is, a task will be listed if it applies to any of the given packages.
-
--destructive
¶
Limit to tasks which are destructive (Note: excludes both non-destructive and unmarked tasks).
-
--non-destructive
¶
Limit to tasks which are non-destructive (Note: excludes both destructive and unmarked tasks).
-
--distro
<name>
¶ Limit to tasks which apply to distro <name>.
-
--xml
¶
Output task listing as XML, with one
<task/>
element per task. This output is suitable for inclusion inside the<tasks/>
element of a Beaker XML job.
-
--params
<name>=<value>
¶ When
--xml
is passed, this will cause a<param/>
element to be added inside each<task/>
element.
Common bkr options are described in the Options section of bkr(1).
Exit status¶
Non-zero on error, otherwise zero.
Examples¶
List all regression tests which apply to the apache
or tomcat6
packages:
bkr task-list --type=Regression --package=apache --package=tomcat6
See also¶
bkr(1)