Can't retry failed build
J
Jorge Sivil
Hello! but isn't that for the last successful build? Or is it for failed builds also?
I don't want to trigger it programmatically, it is already configured, but that build failed due to the backend having an error, then I fixed it, and wanted to trigger a rebuild of the failed build, but couldn't find a button for it.
Ilona Kedracka
Jorge Sivil Triggering a rebuild, whether via webhook or the User Portal, will initiate a rebuild of the latest build regardless of its status. Therefore in your case, if you click this button, a failed build will be rebuilt.
Ilona Kedracka
Hi Jorge, I'm sorry to hear about your experience.
If your goal is to trigger a rebuild programmatically, perhaps a rebuild webhook is what can help you resolve your problem? https://developers.wpengine.com/docs/atlas/platform-guides/webhooks/
You can also trigger a rebuild in the Environment details page in the User Portal, under the "Quick actions" dropdown (see the screenshot).