trigger_build
Queue a Jenkins build and get a queue ID and URL to poll. For parameterised jobs, pass parameters; omitting them causes rejection.
Instructions
Queue a build.
Returns a validated queue_id and a canonical queue_url built from configured JENKINS_URL, not a build number: the build has not started yet. Poll get_queue_item until its executable has a number, then use get_build_info. For a parameterised job pass parameters, using an empty object to accept every default; omitting it entirely makes Jenkins reject the trigger. Their encoded form must fit MCP_MAX_REQUEST_BYTES.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_name | Yes | ||
| parameters | No |