Commit 58627b06 authored by Philipp Hasper's avatar Philipp Hasper Committed by Shinya Maeda

Increase pipeline email notification from 10 to 30 lines

parent d6ed219c
......@@ -27,6 +27,6 @@
- if build.has_trace?
%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;" }
= build.trace.html(last_lines: 10).html_safe
= build.trace.html(last_lines: 30).html_safe
- else
%td{ colspan: "2" }
......@@ -15,6 +15,6 @@ had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
Stage: <%= build.stage %>
Name: <%= build.name %>
<% if build.has_trace? -%>
Trace: <%= build.trace.raw(last_lines: 10) %>
Trace: <%= build.trace.raw(last_lines: 30) %>
<% end -%>
<% end -%>
......@@ -35,7 +35,7 @@ had <%= failed.size %> failed <%= 'build'.pluralize(failed.size) %>.
Stage: <%= build.stage %>
Name: <%= build.name %>
<% if build.has_trace? -%>
Trace: <%= build.trace.raw(last_lines: 10) %>
Trace: <%= build.trace.raw(last_lines: 30) %>
<% end -%>
<% end -%>
---
title: Increase pipeline email notification from 10 to 30 lines
merge_request: 21728
author: Philipp Hasper
type: changed
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