Lines Matching refs:result
57 func (v *verboseLog) FinishAction(result ActionResult, counts Counts) {
58 cmd := result.Command
60 cmd = result.Description
65 if result.Error != nil {
66 fmt.Fprintf(v.w, "FAILED: %s\n", strings.Join(result.Outputs, " "))
69 if result.Output != "" {
70 fmt.Fprintln(v.w, result.Output)
107 func (e *errorLog) FinishAction(result ActionResult, counts Counts) {
108 if result.Error == nil {
117 fmt.Fprintf(e.w, "FAILED: %s\n", result.Description)
119 if len(result.Outputs) > 0 {
120 fmt.Fprintf(e.w, "Outputs: %s\n", strings.Join(result.Outputs, " "))
123 fmt.Fprintf(e.w, "Error: %s\n", result.Error)
124 if result.Command != "" {
125 fmt.Fprintf(e.w, "Command: %s\n", result.Command)
127 fmt.Fprintf(e.w, "Output:\n%s\n", result.Output)
169 func (e *errorProtoLog) FinishAction(result ActionResult, counts Counts) {
170 if result.Error == nil {
175 Description: proto.String(result.Description),
176 Command: proto.String(result.Command),
177 Output: proto.String(result.Output),
178 Artifacts: result.Outputs,
179 Error: proto.String(result.Error.Error()),
220 func (b *buildProgressLog) FinishAction(result ActionResult, counts Counts) {
221 if result.Error != nil {