Re: Want something like "failonerror" for artifactspublisher
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I just finished dealing with a similar problem with the CVS bootstrapper. The CVS update generated some warnings, which caused the process to return a 1 instead of 0. This prevented the subsequent ant build from running. Since there is no notification tied to the CVS failure, this problem went unnoticed for over a week. Joel -----Original Message----- From: "Assaf Lavie" <[email protected]> Sent: Wednesday, May 26, 2010 2:44am To: [email protected] Subject: Re: [Cruisecontrol-user] Want something like "failonerror" for artifactspublisher What sort of build task isn't failing on error? I'm aware of such a problem with Ant, for example, but it's fixable. On Mon, May 24, 2010 at 8:38 PM, Doug Breaux <[mailto:[email protected]] [email protected]> wrote: Is there any way to get CC to consider the build failed if the artifactspublisher fails? It's logging an error about not being able to copy the file in question, but CC still says the build was successful. (I have some build-type tasks that are not causing the build to fail when they fail, despite failOnError="true", and it seems one of the simplest ways to catch all of them is to report a failure when the artifact doesn't exist.) Doug ------------------------------------------------------------------------------ _______________________________________________ Cruisecontrol-user mailing list [mailto:[email protected]] [email protected] [https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user ------------------------------------------------------------------------------ _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user