# ocloud builds

Source: https://olef.dev/docs/reference/ocloud/builds

Generated from **ocloud 3.17.3**. [All ocloud commands](https://olef.dev/docs/reference/ocloud) · [Olef Cloud overview](https://olef.dev/docs/cloud/overview) · [`olef` commands](https://olef.dev/docs/reference/commands)

Private app-store builds: upload, list, and share APKs with tester groups

Global options (`--org`, `--project-root`, `--quiet`, `--redact`) apply across commands; see the [`ocloud` command catalog](https://olef.dev/docs/reference/ocloud#global-options).

## ocloud builds list

The project's builds, newest first: version, branch, commit, who, size, signer and status

```bash
ocloud builds list --help
```

| Argument | Description |
| --- | --- |
| `--project` |  |
| `--limit` | How many (newest first) |

## ocloud builds push

Upload an APK as a build of the project: the one given, else build the configured variant and take the APK its output-metadata.json lists. Records the branch, commit and uncommitted changes of this folder. `--share` makes it the current version of tester groups

```bash
ocloud builds push --help
```

| Argument | Description |
| --- | --- |
| `<apk_file>` | The APK to upload (default: build it) |
| `--project` | The Olef Cloud project (id or slug). Default: the linked folder's project, else `distribution.project` in .olef/config.json |
| `--notes` | What's new in this build, shown to testers |
| `--share` | Share it with this tester group (name or id) once it is ready. Repeat for more groups |
| `--module` | Gradle application module (`app`, nested: `apps:phone`). Default: `distribution.module` in .olef/config.json, the project's Cloud setting, `module`, else the only com.android.application module |
| `--variant` | Build variant (`assemble<Variant>`). Default: `distribution.variant`, the project's Cloud setting, `variant`, else debug |
| `--timeout-ms` | How long Gradle may take |

## ocloud builds share

Make a build the current version of tester groups: their testers see it, get a notification and update automatically if they chose to

```bash
ocloud builds share --help
```

| Argument | Description |
| --- | --- |
| `<build>` | **Required.** The build's id (`bld_…`) |
| `--group` | **Required.** A tester group (name or id). Repeat for more groups |
