Drone CI 中文文档

终止构建 (drone build stop)

该子命令用于停止一个挂起或正在运行的构建。请注意,该命令需要对存储库拥有推送权限。

1
2
3
4
5
NAME:
   drone build stop - stop a build

USAGE:
   drone build stop <repo/name> [build]

Example usage, cancels a build by build number:

1
drone build stop octocat/hello-world 42