blob: dedaf2835e61085dda243bfab959550fa4234b2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
class BuildHooksWorker
include Sidekiq::Worker
include PipelineQueue
enqueue_in group: :hooks
def perform(build_id)
Ci::Build.find_by(id: build_id)
.try(:execute_hooks)
end
end
|