Publish to FTP after TFS 2010 build quality change

依然范特西╮ 提交于 2019-12-08 02:55:47

问题


When I change the quality of a build in TFS 2010 (to production quality), I would like to have the build uploaded to my FTP site on a remote server.

Are there any tools you know of that can accomplish this? If not, any suggestions on how I can do this myself?


回答1:


If you want to automate this you probably need to use the notification system in TFS. You would need to build a web service that receives the notification from TFS and then have that web service do the FTP upload or make it queue a new build that would do the FTP upload. I would probably go for the second alternative so I could easily do the upload manually if needed.

You can read more about the event service here:

Team Foundation Server Event Service




回答2:


TFSDeployer might be useful, the build quality change event triggers the execution of a configured powershell script depending on the build quality.

http://tfsdeployer.codeplex.com/




回答3:


You could use Powershell in a post-build step: What’s the best way to automate secure FTP in PowerShell?



来源:https://stackoverflow.com/questions/1960388/publish-to-ftp-after-tfs-2010-build-quality-change

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!