Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
58627b06
Commit
58627b06
authored
Feb 14, 2020
by
Philipp Hasper
Committed by
Shinya Maeda
Feb 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase pipeline email notification from 10 to 30 lines
parent
d6ed219c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/notify/_failed_builds.html.haml
app/views/notify/_failed_builds.html.haml
+1
-1
app/views/notify/autodevops_disabled_email.text.erb
app/views/notify/autodevops_disabled_email.text.erb
+1
-1
app/views/notify/pipeline_failed_email.text.erb
app/views/notify/pipeline_failed_email.text.erb
+1
-1
changelogs/unreleased/phillab-patch-29.yml
changelogs/unreleased/phillab-patch-29.yml
+5
-0
No files found.
app/views/notify/_failed_builds.html.haml
View file @
58627b06
...
@@ -27,6 +27,6 @@
...
@@ -27,6 +27,6 @@
-
if
build
.
has_trace?
-
if
build
.
has_trace?
%td
{
colspan:
"2"
,
style:
"font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; padding: 0 0 16px;"
}
%td
{
colspan:
"2"
,
style:
"font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; padding: 0 0 16px;"
}
%pre
{
style:
"font-family: Monaco,'Lucida Console','Courier New',Courier,monospace; background-color: #fafafa; border-radius: 4px; overflow: hidden; white-space: pre-wrap; word-break: break-all; font-size:13px; line-height: 1.4; padding: 16px 8px; color: #333333; margin: 0;"
}
%pre
{
style:
"font-family: Monaco,'Lucida Console','Courier New',Courier,monospace; background-color: #fafafa; border-radius: 4px; overflow: hidden; white-space: pre-wrap; word-break: break-all; font-size:13px; line-height: 1.4; padding: 16px 8px; color: #333333; margin: 0;"
}
=
build
.
trace
.
html
(
last_lines:
1
0
).
html_safe
=
build
.
trace
.
html
(
last_lines:
3
0
).
html_safe
-
else
-
else
%td
{
colspan:
"2"
}
%td
{
colspan:
"2"
}
app/views/notify/autodevops_disabled_email.text.erb
View file @
58627b06
...
@@ -15,6 +15,6 @@ had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
...
@@ -15,6 +15,6 @@ had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
Stage:
<%=
build
.
stage
%>
Stage:
<%=
build
.
stage
%>
Name:
<%=
build
.
name
%>
Name:
<%=
build
.
name
%>
<%
if
build
.
has_trace?
-%>
<%
if
build
.
has_trace?
-%>
Trace:
<%=
build
.
trace
.
raw
(
last_lines:
1
0
)
%>
Trace:
<%=
build
.
trace
.
raw
(
last_lines:
3
0
)
%>
<%
end
-%>
<%
end
-%>
<%
end
-%>
<%
end
-%>
app/views/notify/pipeline_failed_email.text.erb
View file @
58627b06
...
@@ -35,7 +35,7 @@ had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
...
@@ -35,7 +35,7 @@ had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
Stage:
<%=
build
.
stage
%>
Stage:
<%=
build
.
stage
%>
Name:
<%=
build
.
name
%>
Name:
<%=
build
.
name
%>
<%
if
build
.
has_trace?
-%>
<%
if
build
.
has_trace?
-%>
Trace:
<%=
build
.
trace
.
raw
(
last_lines:
1
0
)
%>
Trace:
<%=
build
.
trace
.
raw
(
last_lines:
3
0
)
%>
<%
end
-%>
<%
end
-%>
<%
end
-%>
<%
end
-%>
changelogs/unreleased/phillab-patch-29.yml
0 → 100644
View file @
58627b06
---
title
:
Increase pipeline email notification from 10 to 30 lines
merge_request
:
21728
author
:
Philipp Hasper
type
:
changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment