Commit 639854d4 authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'jenkins-integration-fix' into 'master'

Added class to self when calling a post method.

This is a very small change to fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/160 by prepending `class`to the `post` method. 

See merge request !106
parents b6add255 930da900
...@@ -46,7 +46,7 @@ class JenkinsService < CiService ...@@ -46,7 +46,7 @@ class JenkinsService < CiService
end end
def execute(data) def execute(data)
self.post( self.class.post(
hook_url, hook_url,
body: data.to_json, body: data.to_json,
headers: { headers: {
......
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