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

Unified Diff: tools/gardening/lib/src/bot.dart

Issue 3000493002: Improve output of current-summary gardening tool. (Closed)
Patch Set: Created 3 years, 4 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 | « tools/gardening/bin/current_summary.dart ('k') | tools/gardening/lib/src/buildbot_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gardening/lib/src/bot.dart
diff --git a/tools/gardening/lib/src/bot.dart b/tools/gardening/lib/src/bot.dart
index 2d5eb3bcb32b7448167a4795d45eaefaa77d054a..9d0af669e1515524a553d2cc06273b177cae765e 100644
--- a/tools/gardening/lib/src/bot.dart
+++ b/tools/gardening/lib/src/bot.dart
@@ -21,6 +21,8 @@ class Bot {
_client =
logdog ? new LogdogBuildbotClient() : new HttpBuildbotClient();
+ int get mostRecentBuildNumber => _client.mostRecentBuildNumber;
+
/// Reads the build result of [buildUri] and the [previousCount] earlier
/// builds.
Future<List<BuildResult>> readHistoricResults(BuildUri buildUri,
@@ -67,7 +69,7 @@ class Bot {
List<BuildUri> get mostRecentUris {
List<BuildUri> result = [];
for (BuildGroup group in buildGroups) {
- result.addAll(group.createUris(_client.mostRecentBuildNumber));
+ result.addAll(group.createUris(mostRecentBuildNumber));
}
return result;
}
« no previous file with comments | « tools/gardening/bin/current_summary.dart ('k') | tools/gardening/lib/src/buildbot_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698