bkr-job-clone - Man Page
Clone existing Beaker jobs
Synopsis
bkr job-clone [options] [--wait] [--dry-run] [--xml] [--pretty-xml] <taskspec>...
Description
Specify one or more <taskspec> arguments to be cloned. A new job will be created for each argument. The cloned job ids 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).
Only jobs and recipe sets may be cloned.
Options
- --wait
When this option is given, the command will not terminate until the clone job has finished running.
- --xml
Print the job XML before submitting it.
- --pretty-xml
Print the job XML in a easily readable format before submitting it.
- --dry-run
Run through the job-clone process without actually submitting the cloned job
- --job-owner <username>
Clone the job on behalf of <username>. The cloned job will be owned by <username> rather than the cloning user.
The cloning user must be a submission delegate of <username>. Users can add other users as submission delegates on their Preferences page in Beaker's web UI.
Common bkr options are described in the Options section of bkr(1).
Exit Status
Non-zero on error, otherwise zero. A failure in cloning any of the arguments is considered to be an error, and the exit status will be 1.
Examples
Clone job 1234 and wait for it to finish:
bkr job-clone --wait J:1234
See Also
Author
The Beaker team <beaker-devel@lists.fedorahosted.org>
Copyright
2013-2024 Red Hat, Inc.