build_queue_worker.rb 253 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 class BuildQueueWorker include Sidekiq::Worker include PipelineQueue enqueue_in group: :processing def perform(build_id) Ci::Build.find_by(id: build_id).try do |build| Ci::UpdateBuildQueueService.new.execute(build) end end end