Descriptionapi.trigger: refactoring, made extensible
More an more parameters are being added to trigger_specs that are not
properties. This CL changes api.trigger function to accept trigger specs
instead of properties. A trigger spec may contain properties, as well as
builder_name, buildbot_changes and, in next CL, buildbucket bucket.
Also this change renames "buildbot.changes" to "buildbot_changes",
because a dot cannot be in recipe config schema.
For backward compatibility, if there is "buildername" in a trigger spec,
it is treated in the backward compatible mode.
R=smut@google.com, smut@chromium.org
BUG=449218
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=294290
Patch Set 1 : #
Total comments: 12
Patch Set 2 : fixes #Messages
Total messages: 12 (5 generated)
|