get_build_log
Retrieve the console output of a Jenkins build by specifying the job path and build number. Use to monitor build details and debug CI/CD pipelines efficiently.
Instructions
Get the console output of a Jenkins 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": {
"jobPath": "<jobPath>",
"buildNumber": "<buildNumber>"
},
"name": "get_build_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildNumber | Yes | Build number (use "lastBuild" for most recent) | |
| jobPath | Yes | Path to the Jenkins job |