summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-10 18:47:22 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-11 18:02:09 +0100
commit1e2a4895c803f4881ab63c1816141462fbfa6d2b (patch)
tree6b611a2715c76e39aba03295c71e41b37485bd37 /app/services
parent3578153d3e838da92587fed88a608d9a5458c37c (diff)
downloadgitlab-ce-1e2a4895c803f4881ab63c1816141462fbfa6d2b.tar.gz
Finishing touches
Diffstat (limited to 'app/services')
-rw-r--r--app/services/ci/create_builds_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_builds_service.rb b/app/services/ci/create_builds_service.rb
index ba7c4632f49..ad901f2da5d 100644
--- a/app/services/ci/create_builds_service.rb
+++ b/app/services/ci/create_builds_service.rb
@@ -30,7 +30,7 @@ module Ci
tag: tag,
trigger_request: trigger_request,
user: user,
- gl_project_id: commit.gl_project_id)
+ project: commit.project)
build = commit.builds.create!(build_attrs)
build.execute_hooks