OLD | NEW |
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 package analyzer | 5 package analyzer |
6 | 6 |
7 import ( | 7 import ( |
8 "errors" | 8 "errors" |
9 "fmt" | 9 "fmt" |
10 "net/url" | 10 "net/url" |
11 "path/filepath" | 11 "path/filepath" |
12 "sort" | 12 "sort" |
13 "strings" | 13 "strings" |
14 "sync" | 14 "sync" |
15 "time" | 15 "time" |
16 | 16 |
17 » "infra/libs/logging/gologger" | 17 » "github.com/luci/luci-go/common/logging/gologger" |
18 | 18 |
19 "infra/monitoring/client" | 19 "infra/monitoring/client" |
20 "infra/monitoring/messages" | 20 "infra/monitoring/messages" |
21 ) | 21 ) |
22 | 22 |
23 const ( | 23 const ( |
24 // StepCompletedRun is a synthetic step name used to indicate the build
run is complete. | 24 // StepCompletedRun is a synthetic step name used to indicate the build
run is complete. |
25 StepCompletedRun = "completed run" | 25 StepCompletedRun = "completed run" |
26 treeCloserPri = 0 | 26 treeCloserPri = 0 |
27 staleMasterSev = 0 | 27 staleMasterSev = 0 |
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 masterName string | 903 masterName string |
904 builderName string | 904 builderName string |
905 build messages.Build | 905 build messages.Build |
906 step messages.Step | 906 step messages.Step |
907 } | 907 } |
908 | 908 |
909 // URL returns a url to builder step failure page. | 909 // URL returns a url to builder step failure page. |
910 func (f stepFailure) URL() string { | 910 func (f stepFailure) URL() string { |
911 return client.StepURL(f.masterName, f.builderName, f.step.Name, f.build.
Number) | 911 return client.StepURL(f.masterName, f.builderName, f.step.Name, f.build.
Number) |
912 } | 912 } |
OLD | NEW |