bk build view filters jobs by state
Introduced 2026-03-31 · score 0.98
HOW TO USE IT
When investigating jobs in a build, run `bk build view` with `-s`/`--job-states` and one or more documented states. For example, `bk build view <build-number> -s failed,broken` filters the displayed jobs to failed and broken states.
bk build view <build-number> -s failed,brokenWHY THIS HELPS
When reviewing a build’s jobs by state, filter the output to the job states relevant to the investigation.
REQUIREMENTS AND LIMITATIONS
- Version: v3.33.1
- -s, --job-states=JOB-STATES,...: Filters jobs by state; pass comma-separated values. Valid values: `running`, `scheduled`, `passed`, `failed`, `canceled`, `skipped`, `not_run`, `broken`.
- [<build-number>]: Build number to view; omit to resolve the most recent build.
- Prerequisite: Install the Buildkite CLI (`bk`).
FIRST-PARTY EVIDENCE
- https://github.com/buildkite/cli/releases/tag/v3.33.1
- https://github.com/buildkite/cli/pull/735
- https://github.com/buildkite/cli/blob/v3.33.1/cmd/build/view.go
- https://buildkite.com/docs/platform/cli/installation
Check the installed version and the source before using it. Entry JSON