如何杀死正在进行的heroku构建? [英] How to kill an heroku build that is in progress?
问题描述
我不小心在后安装脚本中推送了一个进行npm安装的构建.这导致我的heroku应用陷入了无限的安装循环.我搜索了heroku文档以了解如何终止构建,但是空白.我找到的最接近的东西是 https://help.heroku .com/Z44Q4WW4/how-do-i-stop-a-release-phase ,我尝试按照这些说明进行杀死,但我的构建不会死:(
I accidentally pushed a build that does an npm install in the postinstall script. This has led to my heroku app being stuck in an infinite install loop. I searched the heroku documentation on how to kill builds but came up blank. The closest thing I found was https://help.heroku.com/Z44Q4WW4/how-do-i-stop-a-release-phase and I tried killing as per those instructions but my build won't die :(
推荐答案
heroku-builds CLI插件具有builds:cancel
命令,该命令将停止正在运行的构建.
The heroku-builds CLI plugin has a builds:cancel
command which will stop a running build.
所有构建也会在15分钟到1小时之间超时.
All builds will time out too after a time that can go between 15 minutes to 1 hour.
这篇关于如何杀死正在进行的heroku构建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!