Skip to main content

saucectl artifacts download

Downloads artifacts for a job from Sauce Labs.

Usage

$ saucectl artifacts download jobID 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 artifacts download <jobID> <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 artifacts download <jobID> <globPattern> --out json

--region

| OPTIONAL | STRING |

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

Shorthand: -r <region>

saucectl artifacts download <jobID> <globPattern> --region us-west-1