Re: [Nant-users] Best way to record step fail/success status

2004-10-13 Thread Gary Feldman
>From: "Young, Jason (GE Infrastructure)" <[EMAIL PROTECTED]> >Sent: Tuesday, October 12, 2004 7:25 PM >I have a build system that records each step of a build process. If a >step succeeds, I add a row to a sql table with a status of 1. If it >fails, I add that row with a status of 0. What is

RE: [Nant-users] Best way to record step fail/success status

2004-10-12 Thread Young, Jason \(GE Infrastructure\)
write it as a failure to the database. Does that seem like the best way to do it? -Original Message- From: Merrill Cornish [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 7:28 PM To: Young, Jason (GE Infrastructure); [EMAIL PROTECTED] Subject: Re: [Nant-users] Best way to record

Re: [Nant-users] Best way to record step fail/success status

2004-10-12 Thread Merrill Cornish
If one of your steps fails, does that cause the build to fail? If so, then you can use the nant.onfailure property to specify a "cleanup" task, which will only be run after the main build if finished. In your case, that cleanup task would write the fail record to the SQL database. Merrill -

[Nant-users] Best way to record step fail/success status

2004-10-12 Thread Young, Jason \(GE Infrastructure\)
I have a build system that records each step of a build process. If a step succeeds, I add a row to a sql table with a status of 1. If it fails, I add that row with a status of 0. What is the easiest way to determine if a step succeeded or failed? Expressions maybe? One important thing to note