Re: How to detect build failure?
"Lucas Albers" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Ant exec propagates the return code up as an error. For example make an ant exec target that does: Directory listing on a directory that exists. Directory listing on a directory that does not exist. This will show as a exec failure on one, success on another and propagate up as an ant build success or failure. From: Joe Bloggs [mailto:[email protected]] Sent: Monday, March 02, 2009 8:24 AM To: [email protected] Subject: [Cruisecontrol-user] How to detect build failure? Hi All, How can I tell if the ant build I run actually completes succesfully or not? For example, if there is a compile error, how does that result get passed back to cruise control? I know there is the <onsuccess> child in the publishers element, but that only seems to indicate if the ant build script completes. Cheers, DB _____ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the <http://ca.promos.yahoo.com/newmail/overview2/> All-new Yahoo! Mail ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user