clean

Cleans the data produced by the given job with the given set of job arguments on the selected targets.

usage: cmri job clean <job_name> [--no-dependencies] [--max-workers <MAX_WORKERS>] [--quiet] [--verbose] [arguments...]

required arguments:

job_name

The name of the job to run.

options:

-w, --max-workers

The maximum number of workers to spawn. If omitted, CodeMRI will select an optimal number based on CPU count and available RAM.

-v, --verbose

If included, show full back-traces on errors.

-q, --quiet

Suppress job status updates and messages.

--no-dependencies

Bypass all job dependencies– only run the job, itself.

[arguments...]

One or more arguments to the job to run. Arguments vary by job. Run job describe <job name> for a full list of arguments for a provided. Please note that CodeMRI will not remember job arguments across job runs.

Output Fields

Name

Description

TARGET

The name of the vault, project, or system the result in this row pertains to.

TYPE

The type of target whose status is summarized by this row.

OVERALL STATUS

The overall status of the job chain on the given target:

  • SUCCESS: The job chain completed successfully. Optional tasks may have failed along the way, but the requested job completed successfully.

  • FAILURE: The job chain has failed, either due to the requested job or a required dependency failing.

NUM ERRORS

The number of errors reported while processing the job chain on the target.

NUM WARNINGS

The number of warnings reported while processing the job chain on the target.

FAILED JOBS

The tasks that failed while processing the job chain on the target. Please note that the presence of failed jobs does not equate to a total job chain failure. Some tasks are optional, allowing for graceful degradation in the absence of non-essential data.