Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 559 Bytes

File metadata and controls

22 lines (15 loc) · 559 Bytes

Exit Codes

Device Cloud uses standard exit codes to indicate the status of command execution. Understanding these codes is useful for CI/CD integration and automation.

Standard Exit Codes

Success

0    # Command completed successfully

General Errors

1    # CLI failed due to bad workspace or dcd bug
2    # Test run explicitly failed

{% hint style="info" %} When using --json or --json-file, the CLI always exits 0. Test failures are communicated through the JSON output rather than the exit code. {% endhint %}