jenkins_get_build_log
Fetch a Jenkins build's console log to inspect execution details, truncating output when it exceeds the configured byte limit.
Instructions
Get consoleText for a build, truncated by JENKINS_MCP_MAX_LOG_BYTES.
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": "<job>",
"build": "<build>"
},
"name": "jenkins_get_build_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| build | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |