2016-10-14 06:53:51 -04:00
|
|
|
class BuildFinishedWorker
|
2017-11-28 11:08:30 -05:00
|
|
|
include ApplicationWorker
|
2017-08-21 08:16:51 -04:00
|
|
|
include PipelineQueue
|
|
|
|
|
|
|
|
enqueue_in group: :processing
|
2016-10-14 06:53:51 -04:00
|
|
|
|
|
|
|
def perform(build_id)
|
|
|
|
Ci::Build.find_by(id: build_id).try do |build|
|
2017-09-25 12:54:08 -04:00
|
|
|
BuildTraceSectionsWorker.perform_async(build.id)
|
2016-10-14 11:48:28 -04:00
|
|
|
BuildCoverageWorker.new.perform(build.id)
|
|
|
|
BuildHooksWorker.new.perform(build.id)
|
2016-10-14 06:53:51 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|