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

8 lines
166 B
Ruby

class BuildCoverageWorker
include ApplicationWorker
include PipelineQueue
def perform(build_id)
Ci::Build.find_by(id: build_id)&.update_coverage
end
end