debian-mirror-gitlab/app/helpers/ci/triggers_helper.rb

8 lines
195 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
module Ci
module TriggersHelper
def ci_build_trigger_url(project_id, ref_name)
"#{Settings.gitlab_ci.url}/ci/api/v1/projects/#{project_id}/refs/#{ref_name}/trigger"
end
end
end