This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.5.2. 构建和部署CLI命令
2.5.2.1. cancel-build 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
取消正在运行,待处理或新的构建。
示例:取消一个构建
oc cancel-build python-1
$ oc cancel-build python-1
示例:从 python
构建配置中取消所有待处理的构建
oc cancel-build buildconfig/python --state=pending
$ oc cancel-build buildconfig/python --state=pending