Build

停止一个构建。Stop a build.

停止正在执行的流水线构建任务。 Stop a running pipeline build task. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-cnb-trigger:rw

post/{repo}/-/build/stop/{sn}

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/{repo}/-/build/stop/{sn}
  • Auth: API key in header Authorization

Path parameters

repostring required

仓库。Repo.

snstring required

构建号。SN.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.