Description | Add a trigger to a plan. Pre-defined types are: polling, remote, remoteBitbucketServer, scheduled. One or more repositories can be specified for pre-defined type triggers based on repositories or custom types. Polling triggers default to all plan repositories or use repository @all. Custom types can be specified with the appropriate trigger key (or alias) and all required parameters using the various field parameters. Use of the name parameter is deprecated - description should be used instead. |
---|
Required Parameters | plan, type |
---|
Optional Parameters | description, repository, schedule, successfulPlans, ipRestriction, disable, field, field1, value1, field2, value2 |
---|
Type | Create |
---|
Category | Triggers |
---|
Output Formats | |
---|
Replacement Variables | triggerId |
---|
Since Version | |
---|
Examples | addTrigger | |
---|
|