From: Jeffrey F. <jt...@ag...> - 2004-05-27 16:01:32
|
FWIW I think it would be a better design to write an adapter that takes = an existing publisher and determines when to publish, sort of how the conditional source control works. So you might configure it something = like: <publishers> <condition result=3D"success"> <html ... </condition> ... where values of result might be "success", "fixes", or "failure". Thoughts? Jtf -----Original Message----- From: cru...@li... [mailto:cru...@li...] On Behalf Of = Joris Kuipers Sent: Thursday, May 27, 2004 2:03 AM To: Igor Semenko Cc: cru...@li... Subject: Re: [Cruisecontrol-user] Publish when build passed > Sorry for stupid question, but how can I make <execute> publisher to=20 > be launced only for successful builds? That's not a stupid question, and AFAIK you can't. I like the idea of optionally running the publisher only on success or failure, so I'll = patch it to take an optional attribute to specify such behaviour tonight. Joris ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. = Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3D3149&alloc_id=3D8166&op=3Dclick _______________________________________________ Cruisecontrol-user mailing list Cru...@li... https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user |