views:

70

answers:

0

Hi,

I've written a custom MSBuild script to be used with Team Build, as I am storing PHP in TFS and of course it isn't compiled. My custom script calls the CoreGet target to get the latest version of the files, and the copies them, ZIPs, them, and FTPs the ZIP archive to a testing server. All of that is working fine.

The problem I am having is that despite the build succeeding - see the output in BuildLog.txt -

Done executing task "BuildStep".
Done building target "FTP" in project "TFSBuild.proj".
Done executing task "CallTarget".
Done building target "EndToEndIteration" in project "TFSBuild.proj".
Done Building Project "C:\Documents and Settings\tfsservice\Local Settings\Temp\Code\PHP\BuildType\TFSBuild.proj" (EndToEndIteration target(s)).

Build succeeded.
    0 Warning(s)
    0 Error(s)

the build still reports as having failed. The log from Visual Studio looks like so:

Build log

Anyone know how I can make it report as having succeeded?

Thanks very much in advance,
Benjy

P.S.: Please let me know if anyone would find having the whole build script helpful. Thanks!

UPDATE: These are available at http://dev.icsdevel.com/BuildLog.txt and http://dev.icsdevel.com/TFSBuild.proj. Thanks.