Change By: Georgi Todorov (26/Apr/13 2:46 PM)
Description: We use the extended email notification plugin and its regex tokens to email a section of the console output. That section is a basic HTML with a few <pre> tags that are pre formatted. After the latest update of both the plugin and jenkins, the section of the console output started getting a "tidyhtml" treatment. 

Old email source and console output looked like this:
<html>
<head></head>
<body> 
<table border="1"> 
<tbody>
<tr> 
<td> <b>TEXT</b> </td>
<td> <b>TEXT</b><pre>
line
line<v1>line
line<v1>line
...

New email source looks like this (and messing up the actual email):
<html>
 <head></head>
 <body> 
  <table border="1"> 
   <tbody>
    <tr> 
     <td> <b>TEXT</b> </td>
     <td> <b>TEXT</b><pre>
line
line
      <v1>
      line
line
        <v1>
        line
...

While I don't mind indentation and pretty printing, it seems like a bug to try to beautify (by introducing new lines and spaces) the output of a console. 

EDIT: alright, looks like jira clears any leading blanks so I'll use * to indicate space. 
New output:
<html>
*<head></head>
**<body> 
***<table border="1"> 
***<tbody>
****<tr> 
*****<td> <b>TEXT</b> </td>
*****<td> <b>TEXT</b><pre>
line
line
******<v1>
******
* line
line
*******<v1>
*******
* line
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to