trigger_build
Trigger a Jenkins build with optional parameters. Provide the job name and, if needed, pass parameters to start the build immediately.
Instructions
Trigger a Jenkins build. Uses buildWithParameters when parameters is provided.
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": "trigger_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| parameters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||