Properly normalized data for job:received pusher event
This commit is contained in:
parent
584157dba7
commit
4d78f232c3
|
@ -86,7 +86,7 @@ $.extend Travis.Pusher.prototype,
|
|||
switch event
|
||||
when 'build:started', 'build:finished'
|
||||
data
|
||||
when 'job:created', 'job:started', 'job:requeued', 'job:finished', 'job:log', 'job:canceled'
|
||||
when 'job:created', 'job:started', 'job:requeued', 'job:finished', 'job:log', 'job:canceled', 'job:received'
|
||||
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