Fix shared runners queue update

This commit is contained in:
Kamil Trzcinski 2017-01-20 13:59:13 +01:00
parent 491f1375fc
commit 10678525b0
No known key found for this signature in database
GPG key ID: 4505F5C7E12C6A5A

View file

@ -6,6 +6,12 @@ module Ci
runner.tick_runner_queue
end
end
Ci::Runner.shared.each do |runner|
if runner.can_pick?(build)
runner.tick_runner_queue
end
end if build.project.shared_runners_enabled?
end
end
end