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

Unified Diff: appengine/findit/waterfall/monitor_try_job_pipeline.py

Issue 1622813003: [Findit] Adding support for extracting revisions from dict instead of list (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing code review comments Created 4 years, 11 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
Index: appengine/findit/waterfall/monitor_try_job_pipeline.py
diff --git a/appengine/findit/waterfall/monitor_try_job_pipeline.py b/appengine/findit/waterfall/monitor_try_job_pipeline.py
index af4e4558df1f8bbe20565cda6f938a62889e5e91..e96e67e57915c5460b690edfb7089331d3bbcd7f 100644
--- a/appengine/findit/waterfall/monitor_try_job_pipeline.py
+++ b/appengine/findit/waterfall/monitor_try_job_pipeline.py
@@ -34,7 +34,7 @@ class MonitorTryJobPipeline(BasePipeline):
'Error "%s" occurred. Reason: "%s"' % (error.message, error.reason))
elif build.status == 'COMPLETED':
result = {
- 'result': build.result,
+ 'report': build.report,
'url': build.url,
'try_job_id': try_job_id,
}
@@ -51,7 +51,7 @@ class MonitorTryJobPipeline(BasePipeline):
else: # pragma: no cover
if build.status == 'STARTED' and not already_set_started:
result = {
- 'result': None,
+ 'report': None,
'url': build.url,
'try_job_id': try_job_id,
}

Powered by Google App Engine
This is Rietveld 408576698