Re: Conditionally sending emails

"Nathan Carbino" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <9A86C00739500244896C8CD661689A1821EBCA@sm-exchange1.pcgt.guardianedge.com>
I believe you would set the 'reportsuccess' property for the htmlemail
publisher for your projects based on your desires. Example, your
interval build would report only on errors and fixes using something
like
 
<htmlemail  reportsuccess="fixes">
/htmlemail>
 
and your nightly builds would always report success, failure, and fixes
(which should be the default I think so might be no need to change this
setting). However, you might explicitly state as such:
 
<htmlemail  reportsuccess="always">
/htmlemail>
 
But don't quote me on the syntax, I don't have the reference in front of
me...
 
-Nathan
 

________________________________

From: Nalin Chandrawansha [mailto:[email protected]] 
Sent: Wednesday, June 02, 2010 3:32 AM
To: [email protected]
Subject: [Cruisecontrol-user] Conditionally sending emails


Hi,

In my project, I use both nightly builds (say at 11 p.m) and interval
builds (say once every 3 hours). 

I need to use htmlemail publisher 

1. If an interval build is failed 

AND

2. To always publish the nightly build status (let it be failed or not)


Is there a way that I can accomplish above task?



Thanks,

Nalin

------------------------------------------------------------------------------

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.