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

Unified Diff: Tools/GardeningServer/model/ct-builder-failure-group-data.html

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a basic test Created 6 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: Tools/GardeningServer/model/ct-builder-failure-group-data.html
diff --git a/Tools/GardeningServer/model/ct-builder-failure-group-data.html b/Tools/GardeningServer/model/ct-builder-failure-group-data.html
new file mode 100644
index 0000000000000000000000000000000000000000..c7a5a4efe922a698b855cfdb7cedbad1e3cdf61c
--- /dev/null
+++ b/Tools/GardeningServer/model/ct-builder-failure-group-data.html
@@ -0,0 +1,26 @@
+<!--
+Copyright 2014 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file.
+-->
+
+<script>
+function CTBuilderFailureGroupData(failure, bot, url) {
+ this.bot = bot;
+ this.failure = failure;
+ this.category = 'builder';
+ this.url = url;
+};
+
+CTBuilderFailureGroupData.prototype.getAnnotations = function() {
+ return [this.failure.annotations()];
+};
+
+CTBuilderFailureGroupData.prototype.dataToExamine = function() {
ojan 2014/09/10 00:40:02 This needs to go. Not as part of this patch, but a
+ return {url: this.url};
+};
+
+CTBuilderFailureGroupData.prototype.failureKeys = function() {
+ return [this.failure.keys()];
+};
+</script>

Powered by Google App Engine
This is Rietveld 408576698