Rebuild API support for specific creator

Hi! Is there a way for the rebuild rest api (https://buildkite.com/docs/apis/rest-api/builds#rebuild-a-build) to use the same author/creator of the original build? I’m trying a rebuild from a step in the pipeline and it just shows the build as cancel and doesn’t put the build in the “My Builds” list. The build is owned by the API key account.

We don’t have the functionality for rebuilding, but If you want to do this via the API, instead of doing a re-build we would recommend creating a new build using the previous builds commit, which should give you the result you are after.

@ngan Are you just looking to retry an individual step? Instead of creating a whole new rebuild, which inherits the build author properties you describe, why not retry the job instead?

Thanks for suggestion @sky, I’m actually trying to rebuild the entire build. Just wish there was an option to say, use the same everything.