jenkins_get_build_status
Fetch the status of a Jenkins build for a specified job; use build number 0 to check the last completed build and confirm success or failure.
Instructions
Get status of a Jenkins build. build_number=0 fetches the last completed 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": {
"job_name": "<job_name>"
},
"name": "jenkins_get_build_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| build_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |