PDA

View Full Version : step to save build log?


CREvans
08-28-2008, 08:06 AM
Is there an easy way to automatically save off to a file the whole build log for the build before the build script exits?

kinook
08-28-2008, 08:57 AM
For a text log file, use the Copy Files action or a Run Program action with a command of

%DOSCMD% copy "%LOGFILE%" "c:\path\to\copyto"

For an XML log file, use the Transform XML Log action (clear out the XSLT stylesheet field).