build_item
Initiate a build for a Jenkins job. Provide the job's fullname and, for parameterized builds, include parameters with build_type 'buildWithParameters'.
Instructions
Build an item in Jenkins
Args: fullname: The fullname of the item data: The parameters to trigger the build with. Required if build_type is 'buildWithParameters'. build_type: If your item is configured with parameters, you must use 'buildWithParameters' as build_type.
Returns: The queue item number of the item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullname | Yes | ||
| build_type | Yes | ||
| data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |