Share nothing so it's safest, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13581090
This commit is contained in:
Lin Jen-Shin 2016-08-05 00:43:16 +08:00
parent 3b2c5a8541
commit 584258dbb8

View file

@ -252,9 +252,12 @@ module Ci
end
def execute_hooks
pipeline_data = Gitlab::DataBuilder::PipelineDataBuilder.build(self)
project.execute_hooks(pipeline_data, :pipeline_hooks)
project.execute_services(pipeline_data.dup, :pipeline_hooks)
project.execute_services(pipeline_data, :pipeline_hooks)
end
def pipeline_data
Gitlab::DataBuilder::PipelineDataBuilder.build(self)
end
def keep_around_commits