gitlab-org--gitlab-foss/app/workers/build_trace_sections_worker.rb

8 lines
177 B
Ruby

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