This has nothing to do with Jenkins. How do you get line breaks to appear in an HTML document?
On 16.02.2014, at 12:40, Brosh, Yossi <[email protected]> wrote: > Hi To all, > > I need to send the content of a file via Jenkins . > When I used these pre-send Scripts lines: > def reportPath = build.getWorkspace().child("kuku.txt") > msg.setContent(reportPath.readToString(), "text/html"); > > The file appears in one line, the script seems to remove all the CR+LF . > Any idea ? > > BR > Yossi > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" 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. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" 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.
