Nipatiitti
Nipatiitti

Reputation: 400

How to stop heroku build in progress

I accidentally added npm start in the heroku post build process so now the build progress is stuck.

I did git push heroku master the build started normal and my server started as it should when running npm start, but because the npm start was in the post build it never finished. Because I'm on free account I only have one concurrent build process and because of the one stuck I can't build new version.

I already tried heroku ps -a APP_NAME and then heroku ps:kill web.1 for the single process that was running, but it didn't help.

ty

Upvotes: 7

Views: 2454

Answers (1)

davydaenen
davydaenen

Reputation: 66

Heroku has a CLI Plugin with which you can manage your builds.

heroku builds -a example-app # take note of the build ID you'd want to display
heroku builds:cancel <id> -a example-app

In case anybody reading this might still need it!

Upvotes: 5

Related Questions