githubEdit

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
circle-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.

Last updated