开发者

Publish to FTP after TFS 2010 build quality change

开发者 https://www.devze.com 2022-12-14 16:49 出处:网络
When I cha开发者_运维百科nge 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.

When I cha开发者_运维百科nge 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?


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/


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消