triggers_helper.rb 195 Bytes
Newer Older
1 2
module Ci
  module TriggersHelper
3
    def ci_build_trigger_url(project_id, ref_name)
Valery Sizov's avatar
Valery Sizov committed
4
      "#{Settings.gitlab_ci.url}/ci/api/v1/projects/#{project_id}/refs/#{ref_name}/trigger"
5 6 7
    end
  end
end