Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-01-13 00:13:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-01-13 00:13:49 +0300
commitd36c792351474304405b5a1033dc2c4815ebc0e4 (patch)
treee978bff1b5fe9d64d0bd85caed8bd0226498d621 /lib/gitlab/data_builder
parent7b2dc9fe33fa6298fa558bb8a018c4db6ea3644a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/data_builder')
-rw-r--r--lib/gitlab/data_builder/deployment.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/deployment.rb b/lib/gitlab/data_builder/deployment.rb
index 267c2d32ca9..a4508bc93c5 100644
--- a/lib/gitlab/data_builder/deployment.rb
+++ b/lib/gitlab/data_builder/deployment.rb
@@ -25,7 +25,8 @@ module Gitlab
user: deployment.deployed_by.hook_attrs,
user_url: Gitlab::UrlBuilder.build(deployment.deployed_by),
commit_url: Gitlab::UrlBuilder.build(deployment.commit),
- commit_title: deployment.commit.title
+ commit_title: deployment.commit.title,
+ ref: deployment.ref
}
end
end