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

Unified Diff: appengine/findit/common/waterfall/buildbucket_client.py

Issue 1906293002: [Findit] Adding additional fields to try job metadata (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fixing comment Created 4 years, 8 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 | « no previous file | appengine/findit/model/wf_try_job_data.py » ('j') | appengine/findit/model/wf_try_job_data.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/waterfall/buildbucket_client.py
diff --git a/appengine/findit/common/waterfall/buildbucket_client.py b/appengine/findit/common/waterfall/buildbucket_client.py
index 56116de430461de9ecc5651e3aea42a4620668ca..9c17f6f4439f2ae5c493c217417ec267cbe275f3 100644
--- a/appengine/findit/common/waterfall/buildbucket_client.py
+++ b/appengine/findit/common/waterfall/buildbucket_client.py
@@ -77,12 +77,14 @@ class BuildbucketBuild(object):
COMPLETED = 'COMPLETED'
def __init__(self, raw_json_data):
+ self.response = raw_json_data
self.id = raw_json_data.get('id')
self.url = raw_json_data.get('url')
self.status = raw_json_data.get('status')
self.request_time = raw_json_data.get('created_ts')
self.updated_time = raw_json_data.get('updated_ts')
self.end_time = raw_json_data.get('completed_ts')
+ self.buildbucket_response = raw_json_data
stgao 2016/04/22 00:37:53 Why we save two copies of the same data?
lijeffrey 2016/04/22 00:50:53 Oops, removed.
result_details_json = json.loads(
raw_json_data.get('result_details_json', '{}')) or {}
self.report = result_details_json.get('properties', {}).get('report', {})
« no previous file with comments | « no previous file | appengine/findit/model/wf_try_job_data.py » ('j') | appengine/findit/model/wf_try_job_data.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698