Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Unified Diff: scripts/slave/recipe_modules/trigger/api.py

Issue 1949753003: Fail build if triggering fails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« scripts/master/chromium_step.py ('K') | « scripts/master/chromium_step.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ce4f9ec69636850abf02c52f9bf01ea31efead26..3b25dea82ae028cc0b465e69270e130f653a213b 100644
--- a/scripts/slave/recipe_modules/trigger/api.py
+++ b/scripts/slave/recipe_modules/trigger/api.py
@@ -38,6 +38,8 @@ class TriggerApi(recipe_api.RecipeApi):
builder_name (str): in BuildBot context, builder name
bucket (str): buildbucket bucket where the triggered builds will be
placed.
+ critical (bool): if True (default) and triggering fails on the
+ buildbot master side, mark entire build as failed (exception).
properties (dict): build properties for a new build.
buildbot_changes (list of dict): list of Buildbot changes to create.
See below.
« scripts/master/chromium_step.py ('K') | « scripts/master/chromium_step.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698