Skip to main content

saucectl imagerunner artifacts download

Get artifacts/files of the container from a Sauce Orchestrate run. Only the files specified in artifacts configuration are downloaded. Supports glob pattern.

Usage

$ saucectl imagerunner artifacts download <runID> <globPattern> [flags]

Available Options

FlagShorthandDescription
--target-dirNoneSave files to target directory. Defaults to current working directory.
--out-oOutput format to the console. Options: text (default) and json.
--region-rThe Sauce Labs region. Options are us-west-1 (default) and eu-central-1.

Options Details

--target-dir

| OPTIONAL | STRING |

Save files to target directory. Defaults to current working directory.

saucectl imagerunner artifacts download <runID> <globPattern> --target-dir my-artifacts-dir

--out

| OPTIONAL | STRING |

Specifies the output format for the console. Options include: "text" or "json". The default setting is "text".

Shorthand: -o <text/json>

saucectl imagerunner artifacts download <runID> <globPattern> --out json

--region

| OPTIONAL | STRING |

The Sauce Labs region. Options are us-west-1 (default) and eu-central-1.

Shorthand: -r <region>

saucectl imagerunner artifacts download <runID> <globPattern> --region us-west-1