gitlab-org--gitlab-foss/app/helpers/triggers_helper.rb

6 lines
171 B
Ruby
Raw Normal View History

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