Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

jobs

Jobs: a module's verb with its input, run in the background for the person who submits it. A job is accepted, then running, then done, failed or cancelled. You, and your organization's owners and admins, read and cancel it.

View as Markdown

nexus jobs submit

nexus jobs submit <product>/<capability> <verb> [--input <json>] [--team <slug>]

Submit a job: a module's verb with its input, run in the background for you; prints the job's id. The module is <product>/<capability>, such as robustness/review.

OptionMeaning
--input <json>The verb's input, a JSON object (default: {})
--team <slug>The team the job's model calls go to, by slug or id (default: yours)
Examples
nexus jobs submit robustness/review run --input '{"repo":"https://github.com/nexus-demo/hello-factory"}'

nexus jobs get

nexus jobs get <id>

A job's state: accepted, running, done, failed or cancelled.

Examples
nexus jobs get job_…

nexus jobs cancel

nexus jobs cancel <id>

Cancel a job no worker has taken yet; a running or finished job stays as it is.

Examples
nexus jobs cancel job_…

nexus jobs result

nexus jobs result <id>

A job's result, once it is done or failed.

Examples
nexus jobs result job_… --json

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.