This project is read-only.

BuildCompletionEvent subscribe?

Jan 24, 2012 at 7:12 PM


I have been looking for the solution to execute by custom script/code on BuildCompletionEvent for a build definition. Can TFS Deployer be configured to subscribe to this TFS event? If yes, can you please provide the config syntax for the same?

Thanks in Advance.





Jan 24, 2012 at 9:52 PM

Hi Nirav,

TFS Deployer contains a small amount code (from a utility library) for listening to BuildCompletionEvent notifications from TFS but it is unused. There is an open issue to add support for this but it is not a high priority at the moment:

If you would like to attempt to implement your own solution, the code in the TfsListener class is probably the best place to start:



Jan 25, 2012 at 1:04 PM

You can simply set the build quality at the end of a successful build and TFS Deployer will kick in. I set mine to "Development". That forces the development deployment. If you need help with that, let me know. I made a slight tweak to the build process template.

Jan 25, 2012 at 9:01 PM

Thanks Jason for the quick reply. I have added my vote to up the open issue priority but in the meantime, I would be try to implement my own solution.

Thanks tbeaulieu for your reply.

Mar 27, 2012 at 11:34 AM

can you give an example on how you set the build quality at the end of the build? I'm doing it in the AfeterEndToEndIteration, but TFSDeployer gets triggered too fast - so the Build is still InProgress and TfsDeployer skips the deployment.

thank you