githubEdit

Status

Check the status of a test upload by name or upload ID. Useful for polling an async run or retrieving results after the fact.

dcd status --upload-id <uuid> [flags]
dcd status --name <upload-name> [flags]

One of --upload-id or --name is required. If multiple uploads share the same name, the most recent is returned.

Flags

Flag
Description

--upload-id <uuid>

UUID of the upload to check

--name <name>

Name of the upload to check

--api-key <key>

Your DeviceCloud API key. Defaults to DEVICE_CLOUD_API_KEY env var

--json

Output results as JSON. Always exits 0

Examples

dcd status --upload-id 7e12345f-eb12-12ec-a30b-bb1234f1d12a
dcd status --name "Nightly regression"

Output:

πŸ“Š Upload Status
════════════════════════════════════════════════════════════════════════════════
βœ“  Status:      FAILED
πŸ†” Upload ID:   7e12345f-eb12-12ec-a30b-bb1234f1d12a
πŸ“± Binary ID:   67894274-b789-4c1e-80d4-da8998998999
πŸ”— Console:     https://console.devicecloud.dev/results?upload=7e12345f-...

πŸ“‹ Test Results
────────────────────────────────────────────────────────────────────────────────
βœ— ./login-test/onboarding.yaml
   Status: FAILED
   Fail reason: Element not found: Text matching regex next.* not found
   Duration: 32s

JSON Output

Use --json for machine-readable output:

Use with jqarrow-up-right to extract specific values:

Polling an Async Run

When using dcd cloud --async, use dcd status to poll for completion:

See Async Execution for more patterns.

Underlying API

dcd status calls GET /uploads/status on the DeviceCloud API. See Uploads API if you need to call it directly.

Last updated