keyboard Build commands in the Bitrise CLI

Feature update
•

Nov 30, 2026

You can now start a build, find the step that failed, and rebuild it from the Bitrise CLI. Continue reading below:


:clapper_board: Start a build:

bitrise build trigger --app my-app-id --workflow primary --branch main
  • This starts a build of the primary Workflow on main. Add --watch to follow the build and exit with its result.
  • Use this when a script, a scheduled job, or another CI system needs to start a Bitrise build. Add --watch when the next command depends on the result.

:repeat_button: Rebuild a finished build:

bitrise build rebuild abc123 --app my-app-id
  • This starts a new build with the parameters of build abc123.
  • Use this when a build failed for a reason outside the code, such as a flaky test or a network error, and you want to run it again as it was.

:memo: List the steps of a build:

bitrise build steps abc123 --app my-app-id
  • This lists the steps of build abc123 with their status and timing.
  • Use this when you want to see which step ran, which was skipped, and where the build spent its time.

:red_circle: Show only the failed steps:

bitrise build steps abc123 --app my-app-id --status failed
  • This lists only the steps that failed, with the reason each one failed.
  • Use this when a build failed and you need the failing step without reading the whole log.

rebuild and steps require Bitrise CLI 3.5.0 or newer.

Managing builds with the Bitrise CLI