Welcome to mirror list, hosted at ThFree Co, Russian Federation.

build_finished_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5efa9180f5e4d0d293dbbfed01a3028d68280770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class BuildFinishedWorker
  include ApplicationWorker
  include PipelineQueue

  enqueue_in group: :processing

  def perform(build_id)
    Ci::Build.find_by(id: build_id).try do |build|
      BuildTraceSectionsWorker.perform_async(build.id)
      BuildCoverageWorker.new.perform(build.id)
      BuildHooksWorker.new.perform(build.id)
    end
  end
end