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

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

Issue 2230103002: [Findit] Pipeline change to save suspected cls to data store. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@0808-resubmit-suspected_cl_model
Patch Set: . Created 4 years, 3 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/build_util.py
diff --git a/appengine/findit/waterfall/build_util.py b/appengine/findit/waterfall/build_util.py
index 0ab2e212011f96988903f4d9d37d90ee8d0a1c6e..a04d66e1d8c1eabf6581a9ee97663488ad3e7f86 100644
--- a/appengine/findit/waterfall/build_util.py
+++ b/appengine/findit/waterfall/build_util.py
@@ -62,3 +62,6 @@ def GetBuildEndTime(master_name, builder_name, build_number):
build_info = buildbot.ExtractBuildInfo(
master_name, builder_name, build_number, build.data)
return build_info.build_end_time
+
+def GetBuildKeyForBuildInfo(master_name, builder_name, build_number):
+ return '%s/%s/%d' %(master_name, builder_name, build_number)

Powered by Google App Engine
This is Rietveld 408576698