trigger_build
Initiate a Jenkins CI/CD build by specifying the job path and optional parameters using this tool on the Jenkins Server MCP.
Instructions
Trigger a new 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>",
"parameters": "<parameters>"
},
"name": "trigger_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobPath | Yes | Path to the Jenkins job | |
| parameters | Yes | Build parameters (optional) |