get_build_status
Retrieve CI build states and build URLs, including Jenkins links, for a commit via Bitbucket Server; paginated results show recorded statuses, and an empty list means none are recorded.
Instructions
Get build states and CI build URLs (including Jenkins links) for a commit using the authenticated Bitbucket connection. Use the pull request fromRef.latestCommit as commitHash. Returns a paginated list; an empty list means no build statuses are recorded, not a successful build.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"commitHash": "<commitHash>"
},
"name": "get_build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of build statuses per page (default: 25, max: 100). | |
| start | No | Page offset (default: 0). Use nextPageStart from the previous response. | |
| commitHash | Yes | Full 40-character commit hash, usually the pull request fromRef.latestCommit. |