Commit e8d97eb1 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Send build name and stage in CI notification e-mail

parent 354b69dd
...@@ -16,6 +16,7 @@ v 8.2.0 (unreleased) ...@@ -16,6 +16,7 @@ v 8.2.0 (unreleased)
- Fix: Inability to reply to code comments in the MR view, if the MR comes from a fork - Fix: Inability to reply to code comments in the MR view, if the MR comes from a fork
- Use git follow flag for commits page when retrieve history for file or directory - Use git follow flag for commits page when retrieve history for file or directory
- Show merge request CI status on merge requests index page - Show merge request CI status on merge requests index page
- Send build name and stage in CI notification e-mail
- Extend yml syntax for only and except to support specifying repository path - Extend yml syntax for only and except to support specifying repository path
- Enable shared runners to all new projects - Enable shared runners to all new projects
- Fix: 500 error returned if destroy request without HTTP referer (Kazuki Shimizu) - Fix: 500 error returned if destroy request without HTTP referer (Kazuki Shimizu)
......
...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
Author: #{@build.commit.git_author_name} Author: #{@build.commit.git_author_name}
%p %p
Branch: #{@build.ref} Branch: #{@build.ref}
%p
Stage: #{@build.stage}
%p
Job: #{@build.name}
%p %p
Message: #{@build.commit.git_commit_message} Message: #{@build.commit.git_commit_message}
......
...@@ -4,6 +4,8 @@ Status: <%= @build.status %> ...@@ -4,6 +4,8 @@ Status: <%= @build.status %>
Commit: <%= @build.commit.short_sha %> Commit: <%= @build.commit.short_sha %>
Author: <%= @build.commit.git_author_name %> Author: <%= @build.commit.git_author_name %>
Branch: <%= @build.ref %> Branch: <%= @build.ref %>
Stage: <%= @build.stage %>
Job: <%= @build.name %>
Message: <%= @build.commit.git_commit_message %> Message: <%= @build.commit.git_commit_message %>
Url: <%= namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build) %> Url: <%= namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build) %>
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
Author: #{@build.commit.git_author_name} Author: #{@build.commit.git_author_name}
%p %p
Branch: #{@build.ref} Branch: #{@build.ref}
%p
Stage: #{@build.stage}
%p
Job: #{@build.name}
%p %p
Message: #{@build.commit.git_commit_message} Message: #{@build.commit.git_commit_message}
......
...@@ -4,6 +4,8 @@ Status: <%= @build.status %> ...@@ -4,6 +4,8 @@ Status: <%= @build.status %>
Commit: <%= @build.commit.short_sha %> Commit: <%= @build.commit.short_sha %>
Author: <%= @build.commit.git_author_name %> Author: <%= @build.commit.git_author_name %>
Branch: <%= @build.ref %> Branch: <%= @build.ref %>
Stage: <%= @build.stage %>
Job: <%= @build.name %>
Message: <%= @build.commit.git_commit_message %> Message: <%= @build.commit.git_commit_message %>
Url: <%= namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build) %> Url: <%= namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build) %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment