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

9 lines
177 B
Ruby
Raw Normal View History

2017-09-25 12:54:08 -04:00
class BuildTraceSectionsWorker
include ApplicationWorker
2017-09-25 12:54:08 -04:00
include PipelineQueue
def perform(build_id)
Ci::Build.find_by(id: build_id)&.parse_trace_sections!
end
end