How to stop a stuck build

Issue

A build is erroneously marked as pending even though it has already failed. As a result, the dashboard shows that the build is still running.

Resolution

A stuck build can be cancelled manually by running the following:

heroku plugins:install @heroku-cli/heroku-builds
heroku builds:cancel BUILD_UUID -a APP_NAME

To get the build UUID, run the command heroku builds -a APP_NAME and use the ID value for BUILD_UUID in the above command.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support