ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Srivastava" <>
Subject confirmation of build success
Date Sun, 02 Jun 2002 12:11:47 GMT
Hello All,

I am setting up a cron job to run my ant script every night.
This cron job needs to check whether the build is successful or not.

how I have done this today, is that I generate the log file of the output
of ant and then look for a string called "BUILD SUCCESSFULL"
if this string is not found then I send an email to myself with the log

problems is that sometimes, even when there are some exceptions
in the log, the line "BUILD SUCCESSFULL" is still there in the log.

because of this the cron job does not send mail to me even when the build
had failed.

Now, is there a better test that looking for the string "build successful"
to find out whether my build has succeeded or failed ?

please help.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message