summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-28 19:43:36 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-29 17:38:53 +0800
commit6d82e3f15f8de3bae316cdc2f204b3cdea88b55f (patch)
tree51b174d14610d2ee199b16adf9161c63378c194b
parent751be82ee189cad83c59516881edfac51f1ce379 (diff)
downloadgitlab-ce-6d82e3f15f8de3bae316cdc2f204b3cdea88b55f.tar.gz
We're not using original hash anyway, we could use it
-rw-r--r--app/models/ci/pipeline.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index bf6d872dece..7d23456cdac 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -215,7 +215,7 @@ module Ci
def execute_hooks
pipeline_data = Gitlab::DataBuilder::PipelineDataBuilder.build(self)
- project.execute_hooks(pipeline_data.dup, :pipeline_hooks)
+ project.execute_hooks(pipeline_data, :pipeline_hooks)
project.execute_services(pipeline_data.dup, :pipeline_hooks)
end