Hi,

 

I modified the pre-send script of email-ext plugin to do the following:

 

def subject = msg.getSubject();

if (subject && subject.contains('-ea-b')) {

  subject = subject.replace('[JENKINS]','[JENKINS-EA]');

  msg.setSubject(subject, 'UTF-8');

  msg.setHeader('X-Priority', '5 (Low)');

}

 

So you can filter on 2 places:

-          Subject startswith [JENKINS-EA]

-          Mail priority is low

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: [email protected]

 

From: Uwe Schindler [mailto:[email protected]] 
Sent: Friday, July 24, 2015 11:41 AM
To: [email protected]
Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b73) - Build # 
13391 - Failure!

 

I agree with that. I could change the prefix [JENKINS] to [JENKINS-EA] for 
EA-Builds by script/pattern.

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

http://www.thetaphi.de <http://www.thetaphi.de/> 

eMail: [email protected]

 

From: Dawid Weiss [mailto:[email protected]] 
Sent: Friday, July 24, 2015 8:48 AM
To: [email protected]
Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b73) - Build # 
13391 - Failure!

 

 

> Uwe: perhaps you could change your JDK9 jenkins job to run but not send 
> emails on failures?

 

I'm for prefixing title somehow so that uninterested people can filter out 
those e-mails, but leaving them as e-mails. I am interested in those failures 
and it's push-style notification that suits me much better than periodic 
checking of jenkins' logs. 

 

One can pick what he's interested in (Solr, Lucene, java-ea, etc.), but I think 
it's still fully relevant to know if Lucene/ Solr works on an anticipated new 
release of Java, even if it's fairly early.

 

Please leave those e-mails coming to the mailing list. 

 

Dawid

 

Reply via email to