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

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

Issue 2990363002: Include passing tests in BuildResult.results (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/lib/src/buildbot_loading.dart ('k') | tools/gardening/lib/src/client.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gardening/lib/src/buildbot_structures.dart
diff --git a/tools/gardening/lib/src/buildbot_structures.dart b/tools/gardening/lib/src/buildbot_structures.dart
index c9bb0b511f0b48aeae56c0860ce4eab0d6cbb13c..c4fda31070a437dc2d34ba7c0824fe66ea2f9ff9 100644
--- a/tools/gardening/lib/src/buildbot_structures.dart
+++ b/tools/gardening/lib/src/buildbot_structures.dart
@@ -23,6 +23,14 @@ class BuildUri {
return new BuildUri.fromData(botName, buildNumber, stepName);
}
+ factory BuildUri.fromUrl(String url) {
+ if (!url.endsWith('/text')) {
+ // Use the text version of the stdio log.
+ url += '/text';
+ }
+ return new BuildUri(Uri.parse(url));
+ }
+
factory BuildUri.fromData(String botName, int buildNumber, String stepName) {
return new BuildUri.internal('https', 'build.chromium.org',
'/p/client.dart', botName, buildNumber, stepName, 'stdio/text');
« no previous file with comments | « tools/gardening/lib/src/buildbot_loading.dart ('k') | tools/gardening/lib/src/client.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698