Commit 584258db authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent 3b2c5a85
...@@ -252,9 +252,12 @@ module Ci ...@@ -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
......
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