Skip to main content

Check a rerun of a failed release

When a release run fails for a reason that has nothing to do with the code, such as a timeout, you can rerun it in your repository host instead of releasing again. Jaah records each attempt of a run as its own release run, with its own page: the failed attempt keeps its Failed page, and the rerun gets a new one. This guide finds the rerun and checks that it fixed things. To release a fix instead, see Respond to a failed release.

Before you start: release runs are part of Production QA, a plan feature. While your plan does not include it, Runs is not shown and opening the page of a release shows Not on your plan. Runs appear only once the project's releases are connected: see Turn on Production QA for a project.

Who can do this: anyone who can view the project. Rerunning the run needs the right to do so in your repository host.

  1. Open the failed run's page, from Runs on the project's pipeline or from Jaah release on its Release failed incident. Read Failed at to see the job and step that broke, and select the link under Run to open it in your repository host.
  2. Rerun it there. The new attempt reaches Jaah as soon as your repository host reports it.
  3. In Jaah, select Tasks in the sidebar, select the project in the Projects tree, then Pipeline, and open Runs under the pipeline's last stage. Set Environment to the one the run released to.
  4. Select the newest row. Its page opens on Overview.
  5. Check Run: the same workflow and run number as the failed one, followed by (attempt 2), or a higher number for a later rerun. Commit is the same commit the failed attempt released.
  6. Check the status beside the title. Releasing means it is still running; the page refreshes every 15 seconds. Succeeded means the rerun worked, and Failed at is no longer shown. Failed again means the cause was not a one-off: read Failed at and the run's log, and fix it.
  7. When it succeeded, select Incidents in the side menu, set Type to Release failed and open the incident for this workflow and environment. It now reads Resolved, and its History tab shows when.

A successful run of the same workflow to the same environment resolves every open Release failed incident for them, whether it is a rerun or a new release. If the incident still reads Open, the rerun went to another environment or used another workflow.

If the rerun's page shows Release not found, your repository host has not reported it yet, or you cannot view its project. Wait a minute and open it again from Runs.

A release page that cannot be shown: Release not found. Releases appear here once the project reports them.