Actually, after discussing with Uwe on #lucene-dev IRC, I'm looking into another mechanism to reduce the size of email messages: the Jenkins Email-Ext plugin has a per-build-job configuration item named "Pre-send script" that allows you to modify the MimeMessage object representing an email via a Groovy script. Here's what I've got so far - I'm going to enable this now on all the jobs on Uwe's Jenkins (the "msg" variable, of type MimeMessage, is made available by the plugin to the script):
maxLength = 200000; trailingLength = 10000; content = msg.getContent(); // assumption: mime type is "text/plain" contentLength = content.length(); if (content.length() > maxLength) { text = content.substring(0, maxLength - trailingLength) + "\n\n[... truncated too long message ...]\n\n" + content.substring(contentLength - trailingLength); msg.setText(text, "UTF-8"); } Steve -----Original Message----- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: Tuesday, August 28, 2012 3:11 PM To: dev@lucene.apache.org Subject: Re: large messages from Jenkins failures On Mon, Aug 20, 2012 at 2:22 PM, Dawid Weiss <dawid.we...@cs.put.poznan.pl> wrote: > Oh, one more thing -- if we suppress the console output we would > absolutely have to keep (at jenkins) multiple tests-report.txt files > because these always contain full output dumps (regardless of console > settings). Otherwise we'd suppress potentially important info. +1 to not forward truckloads of info to the mailing lists, as long as we can easily get at it via jenkins or some other mechanism. -Yonik http://lucidworks.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org