Share nothing so it's safest, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13581090
This commit is contained in:
parent
3b2c5a8541
commit
584258dbb8
1 changed files with 5 additions and 2 deletions
|
@ -252,9 +252,12 @@ module Ci
|
||||||
end
|
end
|
||||||
|
|
||||||
def execute_hooks
|
def execute_hooks
|
||||||
pipeline_data = Gitlab::DataBuilder::PipelineDataBuilder.build(self)
|
|
||||||
project.execute_hooks(pipeline_data, :pipeline_hooks)
|
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
|
end
|
||||||
|
|
||||||
def keep_around_commits
|
def keep_around_commits
|
||||||
|
|
Loading…
Reference in a new issue