I setup an automate build on tfs server. I could not get it work because it always stuck after build source code process is completed. The processes after that is copy data from a folder to another folder which also works but it just stuck on step after that. It's like in the picture below.
I have no idea how to fix this since it does not show any error message or gives me any clue. I would like to know how can I fix this problem?
This is a proof of concept C# application. It can compile perfectly fine on my machine and it used to compile on the test server.
Update
After I applied parameters to MSBuild SkipLabel and/or SkipPostBuild
the result is like the image below.
I experienced the same problem; probably because some builds got deleted along with the label.
I fixed by following the steps here as provided by Andy Geldman for which the last good label is passed into the activity which associates work items and changesets to the build.
Sometimes this is due to the Previous build being deleted.
Overriding MSBuild properties - SkipLabel
and/or SkipPostBuild
should help
Team Foundation Build Properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With