# Retry a group of steps together

**URL:** <https://forum.buildkite.community/t/retry-a-group-of-steps-together/4598>\
**Category:** Features Requests\
**Created:** [April 23, 2026, 5:28am UTC](https://forum.buildkite.community/t/retry-a-group-of-steps-together/4598 "2026-04-23T05:28:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zmy](https://avatars.discourse-cdn.com/v4/letter/z/eb9ed0/32.png) [@zmy](https://forum.buildkite.community/u/zmy)\
**Post date:** [April 23, 2026, 5:28am UTC](https://forum.buildkite.community/t/retry-a-group-of-steps-together/4598/1 "2026-04-23T05:28:30Z")

</div>

Hi,

I have a use case where I have two steps, when either one fails, I want to rerun both together. I checked the doc and looks like group step doesn’t have the retry option so I have to merge them into one step, which is not very convenient.

Is there a way that I can achieve my use case? Thanks!

---

<div class="post-metadata">

**Author:** ![lizette](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.buildkite.community/lizette/32/1161_2.png) [@lizette](https://forum.buildkite.community/u/lizette)\
**Post date:** [April 23, 2026, 6:54am UTC](https://forum.buildkite.community/t/retry-a-group-of-steps-together/4598/2 "2026-04-23T06:54:39Z")

</div>

Hi @zmy ,

Welcome tot the Buildkite Support Community! 👋

Currently we do not have a retry configuration that triggers a retry based on a job’s dependency. And you’re right that we do not support retrying a group step as well.

What you can currently do is implement a logic that does the checks if any of the steps failed, and retry each of the dependent steps via API - [Jobs API | Buildkite Documentation](https://buildkite.com/docs/apis/rest-api/jobs#retry-a-job) . You just need to manually allow a step to be retried even if it passed via the `permit_on_passed` attribute - [Retry | Buildkite Documentation](https://buildkite.com/docs/pipelines/configure/retry#retry-attributes-manual-retry-attributes) .

Hope this helps.

Cheers!
