Commit a8438e57 authored by Matija Čupić's avatar Matija Čupić

Fix hook build_now url

parent ccc3fa03
...@@ -14,7 +14,7 @@ class JenkinsDeprecatedService < CiService ...@@ -14,7 +14,7 @@ class JenkinsDeprecatedService < CiService
def compose_service_hook def compose_service_hook
hook = service_hook || build_service_hook hook = service_hook || build_service_hook
jenkins_url = project_url.sub(/job\/.*/, '') jenkins_url = project_url.sub(/job\/.*/, '')
hook.url = jenkins_url + "/gitlab/build_now" hook.url = jenkins_url + "gitlab/build_now"
hook.save hook.save
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment