Because maven doesn't return reliable error codes (eg on "[ERROR] build 
failure") in my 'PostBuild Script' I need to 

wget $BUILD_URL/consoleText

... and then grep for problems.

Trouble is, I don't always get the whole thing - very often the last chunk 
is missing.

Doesn't matter if I wait (eg 10 minutes) or have the job print out 20k of 
rubbish to try and flush ot out - I'm still missing the interesting bit.
Once the job has finished, I can always wget the whole thing - it's just 
while the job is in flight that I have problems.

Any ideas on how to flush the dang thing out?

Or maybe there's a plug-in to do this?


Thanks in advance


Bob

Reply via email to