提取、压缩 TFS 源代码管理项目并将其发布到 FTP 服务器

发布于 2024-09-18 13:00:25 字数 224 浏览 2 评论 0原文

我想将 tfs 2010 服务器(本地网络,防火墙内)上特定项目的夜间构建 + 源代码发布到(本地网络,在 dmz 中)ftp 服务器。

  • 构建
  • 获取最新版本
  • Zip 构建和代码
  • 复制到 ftp 服务器

复制文件可以使用 ftp 协议或复制到网络共享。

我可以通过团队建设轻松做到这一点,还是需要额外的工具?

I want to publish nightly builds + source code of a specific project on a tfs 2010 server (local network, inside the firewall) to a (local network, in the dmz) ftp server.

  • Build
  • Get latest version
  • Zip build and code
  • Copy to ftp server

Copying the files can use ftp protocol or copy to network share.

Can I do this easily with team-build, or do I need extra tools?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

清音悠歌 2024-09-25 13:00:25

您可以使用 Team Foundation Build 轻松完成此操作。甚至还有 VS 附带的 zip 和 ftp 活动,可供使用。

如果您想要一个工具来简化它,那么我会推荐 Final Builder。该工具集成到 Team Foundation Build 中,并具有在构建和测试之后运行的活动,您可以在其中执行几乎任何操作。它具有可供拖放的 FTP 和 Zip 活动。

You can do this pretty easily using Team Foundation Build. There are even zip and ftp Activities that ship with VS and are ready to use.

If you want a tool to make it easyer then I would recommend Final Builder. This tool inegrates into Team Foundation Build with an Activity that runs after Build and Test that you can do pretty much anything in. It has FTP and Zip Activities ready for dragging and dropping.

感受沵的脚步 2024-09-25 13:00:25

如果您有像我们一样更复杂的任务,例如通过 FTP 同步/清理远程站点,您可以轻松创建自定义 CodeActivity 并直接在 C# 代码中通过 WebClient 执行 FTP。

If you have a more complicated as we had, like synchronize/cleanup a remote site via FTP, you can easily create your custom CodeActivity and do FTP via WebClient directly in C# code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文