TIL: Stopping a Heroku build

2022-01-14 00:00:00 +0000 UTC

Sometimes a build can become stuck or extremely sluggish on Heroku. To cancel a build, use this command taken from the Heroku docs:

$ heroku plugins:install heroku-builds # only necessary if not already installed
$ heroku builds:cancel BUILD_UUID -a APP_NAME

The BUILD_UUID can be found in the top-right corner of the Build Log UI at https://dashboard.heroku.com/apps/APP_NAME/activity/builds.

Tags: til heroku devops