Build
开始一个构建。Start a build.
触发一次新的流水线构建,支持通过 body 参数指定分支、提交和构建变量。 Trigger a new pipeline build. Branch, commit, and build variables can be specified via body parameters. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-cnb-trigger:rw
post/{repo}/-/build/start
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/start
- Auth: API key in header Authorization
Path parameters
repostring required
仓库。Repo.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.