summaryrefslogtreecommitdiff
path: root/lib/gitlab/build_data_builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/build_data_builder.rb')
-rw-r--r--lib/gitlab/build_data_builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/build_data_builder.rb b/lib/gitlab/build_data_builder.rb
index 34e949130da..9f45aefda0f 100644
--- a/lib/gitlab/build_data_builder.rb
+++ b/lib/gitlab/build_data_builder.rb
@@ -3,7 +3,7 @@ module Gitlab
class << self
def build(build)
project = build.project
- commit = build.commit
+ commit = build.pipeline
user = build.user
data = {