Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2016-01-04 12:47:35 +0300
committerMarin Jankovski <marin@gitlab.com>2016-01-04 12:47:35 +0300
commit639854d44087e53c6cae21ca61a1ad951d889059 (patch)
tree33d54c815d55fe89afb0348ada48b8b4f4f70f7c
parentb6add255ea15466b3fde86e64a0c08389bea5ad3 (diff)
parent930da90033b7128d287a58b8b1ac0011ab3d6682 (diff)
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
-rw-r--r--app/models/project_services/jenkins_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/jenkins_service.rb b/app/models/project_services/jenkins_service.rb
index 9b1165b86a1..a2217c05abb 100644
--- a/app/models/project_services/jenkins_service.rb
+++ b/app/models/project_services/jenkins_service.rb
@@ -46,7 +46,7 @@ class JenkinsService < CiService
end
def execute(data)
- self.post(
+ self.class.post(
hook_url,
body: data.to_json,
headers: {