gitlab-org--gitlab-foss/app/workers/build_coverage_worker.rb
2017-08-21 14:24:05 +02:00

8 lines
164 B
Ruby

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