Commit 706d872e authored by Kamil Trzcinski's avatar Kamil Trzcinski

Make `execute_methods` public

parent ca162699
...@@ -255,13 +255,13 @@ module Ci ...@@ -255,13 +255,13 @@ module Ci
self.duration = statuses.latest.duration self.duration = statuses.latest.duration
end end
private
def execute_hooks def execute_hooks
project.execute_hooks(pipeline_data, :pipeline_hooks) project.execute_hooks(pipeline_data, :pipeline_hooks)
project.execute_services(pipeline_data, :pipeline_hooks) project.execute_services(pipeline_data, :pipeline_hooks)
end end
private
def pipeline_data def pipeline_data
Gitlab::DataBuilder::Pipeline.build(self) Gitlab::DataBuilder::Pipeline.build(self)
end end
......
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