Skip to content

Work with builds

List and download ready Builds with the CLI.

sh
appbarn builds list --app <app-uuid>
appbarn builds download <build-uuid>
appbarn builds download <build-uuid> --output ./artifacts/app.apk
appbarn builds list --platform android --cursor <next-cursor>

Downloads use a short-lived R2 capability. The CLI verifies the downloaded size and SHA-256 against Build metadata before publishing, writes through a temporary file, requires the parent directory to exist and refuses to overwrite an existing target unless --force is supplied.

Expected result

A completed download is at the requested path and matches the server-provided checksum/size contract.

Common failures

  • 404: Build is outside scope, absent or no longer readable.
  • output exists: choose another path or explicitly use --force.
  • interrupted download: temporary state is cleaned rather than promoted to the final path.