Team Build Reports as "Failed" Even Though All Targets Succeeded
Posted
by benjy
on Stack Overflow
See other posts from Stack Overflow
or by benjy
Published on 2010-05-25T21:46:22Z
Indexed on
2010/05/25
21:51 UTC
Read the original article
Hit count: 294
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:
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!
© Stack Overflow or respective owner