Get Jobs Status
get_jobs_statusGet the last build status for every Jenkins job matching a pattern in one request, replacing repeated per-job build queries.
Instructions
Last build of every job matching a pattern, in one call (use this instead of list_builds per job)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_jobs_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of jobs, 1-1000 (default 100) | |
| folder_depth | No | The maximum depth of folders to traverse (default 3) | |
| fullname_pattern | No | Regex searched in the job full name, e.g. "^Branch-Retail/prod-branch-retail-cloud/" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |