| Index: scripts/slave/recipe_modules/trigger/api.py
|
| diff --git a/scripts/slave/recipe_modules/trigger/api.py b/scripts/slave/recipe_modules/trigger/api.py
|
| index 3f0803f8d6d93ab3ec8b337c87fa6187a06b294a..a7ae2fb07d85a3a3122e1bcd7d6d2a0b616fa0ce 100644
|
| --- a/scripts/slave/recipe_modules/trigger/api.py
|
| +++ b/scripts/slave/recipe_modules/trigger/api.py
|
| @@ -46,6 +46,8 @@ class TriggerApi(recipe_api.RecipeApi):
|
| trigger_specs: a list of trigger dicts, where each dict specifies a build
|
| to trigger. Supported keys:
|
| builder_name (str): in BuildBot context, builder name
|
| + bucket (str): buildbucket bucket where the triggered builds will be
|
| + placed.
|
| properties (dict): build properties for a new build.
|
| buildbot_changes (list of dict): list of Buildbot changes to create.
|
| See below.
|
| @@ -75,6 +77,15 @@ class TriggerApi(recipe_api.RecipeApi):
|
| },
|
| })
|
|
|
| + Using BuildBucket:
|
| + api.trigger({
|
| + 'builder_name': 'Release',
|
| + 'bucket': 'master.tryserver.chromium.linux',
|
| + 'properties': {
|
| + 'my_prop': 123,
|
| + },
|
| + })
|
| +
|
| Create Buildbot changes:
|
| api.trigger({
|
| 'builder_name': 'Release',
|
|
|