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:
authorJason Goodman <jgoodman@gitlab.com>2019-05-02 19:07:26 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2019-05-02 19:07:26 +0300
commit1b8646804d323d1a919c0150511168f8b6ef41d1 (patch)
treee566308e3b8dc3b19b62c1be2c239ee00d3e04af /lib/gitlab/data_builder
parentf1526ccd5859f29bf054202a53a371e25c1dcb10 (diff)
Update deployment chat message notification
Include link to user and commit title. Rearrange text
Diffstat (limited to 'lib/gitlab/data_builder')
-rw-r--r--lib/gitlab/data_builder/deployment.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/data_builder/deployment.rb b/lib/gitlab/data_builder/deployment.rb
index 26705dd1f6f..f11e032ab84 100644
--- a/lib/gitlab/data_builder/deployment.rb
+++ b/lib/gitlab/data_builder/deployment.rb
@@ -15,7 +15,9 @@ module Gitlab
project: deployment.project.hook_attrs,
short_sha: deployment.short_sha,
user: deployment.user.hook_attrs,
- commit_url: Gitlab::UrlBuilder.build(deployment.commit)
+ user_url: Gitlab::UrlBuilder.build(deployment.user),
+ commit_url: Gitlab::UrlBuilder.build(deployment.commit),
+ commit_title: deployment.commit.title
}
end
end