jenkins_get_last_successful_build
Retrieve details of the last successful build for a specified Jenkins job. Provide the job name to access build information from the Jenkins MCP Server.
Instructions
Get information about the last successful build of a job.
Args: job_name: Full job name session_name: Jenkins session to use
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_last_successful_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| session_name | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |