Email Ext plugin works great with HTML. This is for your email client to parse HTML (but again, in most cases).
Question: How does your assembly output this HTML above? Does it output it to a file? Does this display it in console output?
If the text is displayed on the console, use:
<pre>${BUILD_LOG_EXCERPT, start="Regex-for-start", end="Regex-for-end"}</pre>
<pre>
tags must preserve spacing / formatting.
The regular expressions start
and end
must identify the "start line" from which to start displaying the log, and the "end line" in which the log display stops.
Note that the start
and end
strings themselves are excluded. So, in your assembly, place the header and footer lines immediately before and immediately after the html output and use them here.
For reference, in the ext-email configuration, click the Content Reference ? Icon icon
source share