handle job:queued events

This commit is contained in:
Sven Fuchs 2015-07-17 12:27:22 +02:00
parent f4b9a3bbe2
commit 309f5aa578

View File

@ -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'