handle job:queued events
This commit is contained in:
parent
f4b9a3bbe2
commit
309f5aa578
|
@ -79,7 +79,7 @@ TravisPusher.prototype.normalize = (event, data) ->
|
|||
switch event
|
||||
when 'build:started', 'build:finished'
|
||||
data
|
||||
when 'job:created', 'job:started', 'job:requeued', 'job:finished', 'job:log', 'job:canceled', 'job:received'
|
||||
when 'job:created', 'job:queued', 'job:received', 'job:started', 'job:requeued', 'job:finished', 'job:log', 'job:canceled'
|
||||
data.queue = data.queue.replace('builds.', '') if data.queue
|
||||
{ job: data }
|
||||
when 'worker:added', 'worker:updated', 'worker:removed'
|
||||
|
|
Loading…
Reference in New Issue
Block a user