diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-16 10:00:13 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-08-16 10:00:13 +0200 |
commit | 5b52da9c32842849f0b6430a6a820fc7456b4841 (patch) | |
tree | d9d2528fd04d1344a549db9afbfe4a3fd457f297 /app/models/ci/pipeline.rb | |
parent | 7cdb5173f105247463a96f6526868627f0b26a85 (diff) | |
download | gitlab-ce-5b52da9c32842849f0b6430a6a820fc7456b4841.tar.gz |
Revert unrelevant changespipeline-hooks-without-slack
Diffstat (limited to 'app/models/ci/pipeline.rb')
-rw-r--r-- | app/models/ci/pipeline.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index 08b104ccfc8..130afeb724e 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -250,8 +250,9 @@ module Ci end def execute_hooks - project.execute_hooks(pipeline_data, :pipeline_hooks) - project.execute_services(pipeline_data, :pipeline_hooks) + data = pipeline_data + project.execute_hooks(data, :pipeline_hooks) + project.execute_services(data, :pipeline_hooks) end private |