News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

batch build - logfile possible ?

Started by tiwag, July 19, 2006, 05:09:49 PM

Previous topic - Next topic

tiwag

is it somehow possible to send the output of a batch-build which is showin in the batch-build notify window to a logfile instead ?

also it would be nice, to get some errorlevel results in order to test the result of the batch-build job ( error exit or normal exit ) in the batch-file,

is this already possible ? (maybe i did only not find the proper documentation about)

killerbot

I think redirection already does the job ??   >>

tiwag

Quote from: killerbot on July 19, 2006, 05:14:26 PM
I think redirection already does the job ??   >>

thanks !  it works so simple.

because of there is no output without redirection specification, i thought there is nothing to redirect !

tiwag

the returned errorlevel setting seems always to be 0
regardless if there was an error or none ...

tiwag

Quote from: tiwag on July 19, 2006, 06:32:16 PM
the returned errorlevel setting seems always to be 0
regardless if there was an error or none ...

Codeblocks.exe returns now the batch-build exit code (when a batch-build was active)

the build-success can now be checked in a batch-file
using the %ERRORLEVEL% environment variable
and checking if the result was 0 (zero)

committed to svn rev 2774