>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
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
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
-
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