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

Unified Diff: dashboard/dashboard/start_try_job.py

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 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 | « dashboard/dashboard/issue_tracker_service_test.py ('k') | dashboard/dashboard/start_try_job_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dashboard/dashboard/start_try_job.py
diff --git a/dashboard/dashboard/start_try_job.py b/dashboard/dashboard/start_try_job.py
index b5bee2c264dec2ad94ef36757f2b82f0136fc939..117b10235aaeb6aa3d8a89a9e43ca06f57aefcd1 100644
--- a/dashboard/dashboard/start_try_job.py
+++ b/dashboard/dashboard/start_try_job.py
@@ -624,6 +624,15 @@ def PerformBisect(bisect_job):
if 'error' in result:
bisect_job.run_count += 1
bisect_job.SetFailed()
+ comment = 'Bisect job failed to kick off'
+ elif result.get('issue_url'):
+ comment = 'Started bisect job %s' % result['issue_url']
+ else:
+ comment = 'Started bisect job: %s' % result
+ if bisect_job.bug_id:
+ issue_tracker = issue_tracker_service.IssueTrackerService(
+ additional_credentials=utils.ServiceAccountCredentials())
+ issue_tracker.AddBugComment(bisect_job.bug_id, comment, send_email=False)
return result
« no previous file with comments | « dashboard/dashboard/issue_tracker_service_test.py ('k') | dashboard/dashboard/start_try_job_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698