gitlab-org--gitlab-foss/app/workers/build_trace_sections_worker.rb
2017-10-05 15:42:25 +02:00

8 lines
175 B
Ruby

class BuildTraceSectionsWorker
include Sidekiq::Worker
include PipelineQueue
def perform(build_id)
Ci::Build.find_by(id: build_id)&.parse_trace_sections!
end
end