summaryrefslogtreecommitdiff
path: root/app/models/ci/pipeline.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-08-16 10:00:13 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-08-16 10:00:13 +0200
commit5b52da9c32842849f0b6430a6a820fc7456b4841 (patch)
treed9d2528fd04d1344a549db9afbfe4a3fd457f297 /app/models/ci/pipeline.rb
parent7cdb5173f105247463a96f6526868627f0b26a85 (diff)
downloadgitlab-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.rb5
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