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

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

Issue 2563383002: [Findit] Flake Checker: Extract commit position and git hash and display to UI for each analyzed bu… (Closed)
Patch Set: Fixing nit Created 4 years 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 | « appengine/findit/templates/flake/result.html ('k') | appengine/findit/waterfall/buildbot.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/waterfall/build_info.py
diff --git a/appengine/findit/waterfall/build_info.py b/appengine/findit/waterfall/build_info.py
index ece49255d45bbc6e6084023703e53c5f6cf81a98..0f528bb0bdac8dfd05a9a8d17948ec2dbc90db33 100644
--- a/appengine/findit/waterfall/build_info.py
+++ b/appengine/findit/waterfall/build_info.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+
class BuildInfo(object): # pragma: no cover
"""Represents a build cycle of a build bot."""
@@ -12,6 +13,7 @@ class BuildInfo(object): # pragma: no cover
self.build_start_time = None
self.build_end_time = None
self.chromium_revision = None
+ self.commit_position = None
self.completed = False
self.result = None
self.blame_list = []
@@ -26,6 +28,7 @@ class BuildInfo(object): # pragma: no cover
print 'start time: %s' % self.build_start_time
print 'end time: %s' % self.build_end_time
print 'chromium revision: %s' % self.chromium_revision
+ print 'commit position: %s' % self.commit_position
print 'completed: %s' % self.completed
print 'result: %s' % self.result
print 'CLs: %s' % ', '.join(self.blame_list)
« no previous file with comments | « appengine/findit/templates/flake/result.html ('k') | appengine/findit/waterfall/buildbot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698