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

Side by Side 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: rebase Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from common import time_util 5 from common import time_util
6 from common.http_client_appengine import HttpClientAppengine as HttpClient 6 from common.http_client_appengine import HttpClientAppengine as HttpClient
7 from model.wf_build import WfBuild 7 from model.wf_build import WfBuild
8 from waterfall import buildbot 8 from waterfall import buildbot
9 from waterfall import lock_util 9 from waterfall import lock_util
10 from waterfall import waterfall_config 10 from waterfall import waterfall_config
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 build.last_crawled_time = time_util.GetUTCNow() 54 build.last_crawled_time = time_util.GetUTCNow()
55 build.put() 55 build.put()
56 56
57 return build 57 return build
58 58
59 59
60 def GetBuildEndTime(master_name, builder_name, build_number): 60 def GetBuildEndTime(master_name, builder_name, build_number):
61 build = DownloadBuildData(master_name, builder_name, build_number) 61 build = DownloadBuildData(master_name, builder_name, build_number)
62 build_info = buildbot.ExtractBuildInfo( 62 build_info = buildbot.ExtractBuildInfo(
63 master_name, builder_name, build_number, build.data) 63 master_name, builder_name, build_number, build.data)
64 return build_info.build_end_time 64 return build_info.build_end_time
OLDNEW
« no previous file with comments | « appengine/findit/waterfall/build_failure_analysis.py ('k') | appengine/findit/waterfall/identify_culprit_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698