(err error)
| 105 | } |
| 106 | |
| 107 | func (c *Context) Stop(err error) { |
| 108 | if !c.Execution.IsRunning { |
| 109 | return |
| 110 | } |
| 111 | |
| 112 | c.Execution.Stop(err) |
| 113 | c.Job.NotifyStop() |
| 114 | } |
| 115 | |
| 116 | func (c *Context) Log(msg string) { |
| 117 | args := []interface{}{c.Job.GetName(), c.Execution.ID, msg} |