【发布时间】:2019-09-17 15:46:35
【问题描述】:
使用 Bitbucket API 处理任何拉取请求时,未获取 PR 的构建作业详细信息/状态
这是我的 API 网址:
https://example.com/rest/api/1.0/projects/{projectkey}/repos/{reposlug}/pull-requests/{pullrequestID}
构建状态在 GUI 上的样子:
我也尝试了以下方法来获取构建状态但没有运气
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/pull-requests
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/settings/hooks
所以我想知道任何 PR 的构建状态是成功还是失败
提前感谢您的回答。
【问题讨论】:
标签: jenkins bitbucket github-api bitbucket-server bitbucket-api