clear log on job:created, too
This commit is contained in:
parent
61c9bf3457
commit
050c9fd211
|
@ -38,7 +38,8 @@ $.extend Travis.Pusher.prototype,
|
|||
return if event.substr(0, 6) == 'pusher'
|
||||
data = @normalize(event, data) if data.id
|
||||
|
||||
if event == 'job:requeued'
|
||||
# TODO remove job:requeued, once sf-restart-event has been merged
|
||||
if event == 'job:created' || event == 'job:requeued'
|
||||
job = Travis.Job.find(data.job.id)
|
||||
job.clearLog() if job
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user