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

10 lines
197 B
Ruby

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