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

Unified Diff: scripts/slave/recipes/cros/cbuildbot_tryjob.py

Issue 1250393003: CrOS: Update Chromite recipe module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fix coverage. Created 5 years, 4 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
« no previous file with comments | « scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/cros/cbuildbot_tryjob.py
diff --git a/scripts/slave/recipes/cros/cbuildbot_tryjob.py b/scripts/slave/recipes/cros/cbuildbot_tryjob.py
index 87a97a2a99aa3621b18c9278df04ff8290d38a96..dc7b7f85521d188723e7c58cbf2d8309ecfcc305 100644
--- a/scripts/slave/recipes/cros/cbuildbot_tryjob.py
+++ b/scripts/slave/recipes/cros/cbuildbot_tryjob.py
@@ -39,6 +39,7 @@ _TRYJOB_DATA = """
def RunSteps(api):
# The 'cbuildbot' config name to build is the name of the builder.
cbb_config_name = api.properties.get('buildername')
+
cbb = cros_chromite.Get()
cbb_config = cbb.get(cbb_config_name)
@@ -46,6 +47,7 @@ def RunSteps(api):
api.chromite.configure(
api.properties,
_MASTER_CONFIG_MAP)
+ api.chromite.c.cbb.config = cbb_config_name
# Determine our build directory name.
namebase = cbb_config_name
@@ -54,9 +56,7 @@ def RunSteps(api):
api.chromite.c.cbb.builddir = '%s_master' % (namebase,)
# Run our 'cbuildbot'.
- api.chromite.run_cbuildbot(
- cbb_config_name,
- tryjob=True)
+ api.chromite.run_cbuildbot(tryjob=True)
def GenTests(api):
« no previous file with comments | « scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698