BigW Consortium Gitlab

pipeline_hooks_worker.rb 183 Bytes
Newer Older
1 2
class PipelineHooksWorker
  include Sidekiq::Worker
3
  include PipelineQueue
4 5 6 7 8 9

  def perform(pipeline_id)
    Ci::Pipeline.find_by(id: pipeline_id)
      .try(:execute_hooks)
  end
end