Retry a group of steps together

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!

Hi @zmy ,

Welcome tot the Buildkite Support Community! :waving_hand:

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 . You just need to manually allow a step to be retried even if it passed via the permit_on_passed attribute - Retry | Buildkite Documentation .

Hope this helps.

Cheers!