PDA

View Full Version : Build errors email


koushikks
09-29-2005, 04:31 PM
I am build a visual studio project. If there are errors during the build ... I want to get just the lines with the errors and send a email. How can I accomplish this?

I need to automate this process every night. Whats the best way to do it? Can I use task scheduler to do this? If there are any erros during the build .. will it exit the process on an error? If so can I setup an email for that?

Thanks,
Koushik

kinook
09-30-2005, 07:41 PM
See the VStudio.bld sample for an example of sending the failure step output on build failure. You can use a scheduled task to perform a nightly build. See http://www.visualbuild.com/Manual/?schedulingbuilds.htm for more details.

Shiamak
02-07-2006, 01:32 AM
Could you be more explanatory?

need to know how a build.log (wth failed build steps) be catured an emailed?


Also if a particular step failed, how one can skip to desired step?

IF (MACRO_COMPILATION = FAIELD ) THEN

GOTO :EXIT
END IF
TIA