团队基础服务器 2010
我们有大约 20 名开发人员,希望使用 Team Foundation Server 2010 实施持续集成。
- 目前我们使用 VS2005,我们将升级到 VS 2010 高级版本。
- 我们将购买 1 个 Team Foundation Server 许可证。
那么,我们可以使用TFS 2010来自动构建和CI吗?或者我们应该使用 CC.Net 和 nAnt?
任何人都可以调查一下这个吗?
问候, 昌丹
We have around 20 developers and want to implement continuous integration using Team foundation server 2010.
- Currently we use VS2005 which we will upgrade to VS 2010 Premium Version
- We will buy 1 Team Foundation Server license.
Then, can we use TFS 2010 to auto build and CI purpose? Or We should use CC.Net And nAnt?
Can anyone please look into this.
Regards,
Chandan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
当然,您可以使用 TFS 来实现此目的,这是其内置功能之一。当您创建新的构建时,“向导”中的选项卡之一专门用于设置您希望构建运行的时间,并且您可以将其设置为在每次签入某些内容时运行(这是 CI 构建),或者您可以将其设置为保存更改并运行频率不超过指定的时间段。
您不需要 CC.Net 或 NAnt。 TFS 实际上会自动创建一个 MSBuild 文件,如果您想对构建执行额外的操作(例如构建 MSI,或将构建的文件部署到其他位置等),则可以扩展该文件。如果您使用过 NAnt,那么 MSBuild 将会有点熟悉,尽管存在一些差异。
Of course you can use TFS for this, it is one of its built in features. When you create a new build, one of the tabs in the "wizard" is dedicated to setting when you want the build to run, and you can set it to run everytime something is checked in (which is a CI build), or you can set it to save up its changes and run no more frequently than a specified period of time.
You don't need CC.Net or NAnt. TFS actually auto creates an MSBuild file which you can then extend if you want to do extra things with your build (like build MSIs, or deploy the built files to other locations, etc etc). If you have used NAnt then MSBuild will be kind of familiar, although there are a few diferences.
这可能有点晚了:
将代码从 VS2005 转换到 VS2010 时,您可能会遇到一些升级问题。从 VS2008 到 VS2010 相当轻松。第三方控件将使升级变得令人恼火。
此外,您还需要至少订阅一份 Visual Studio 2010 Ultimate 的 MSDN 订阅才能获取 TFS 2010 服务器。当然,除非单独购买 TFS 2010 的零售版本。 TFS 2010 服务器附带 5 个 cal 许可证。其他人需要以 500 美元/个的价格单独购买,除非开发团队的其他成员至少使用 VS2010 Pro。
设置基本的构建定义、手动、CI、门控、应计都是非常简单的,也是构建源代码的方法。
正确安装 TFS 2010 还需要:
Windows Server 2008 R2
SQL Server 2008 R2 *Microsoft 不支持 SQL Express 实现。 TFS 的 SSRS 和 SSAS 功能。
SharePoint Foundation 2010(免费且受限)或 SharePoint Server 2010
用于构建服务器的 Visual Studio 2010 Ultimate。
This may be a little late:
You may run into some upgrade issues when converting code from VS2005 to VS2010. From VS2008 to VS2010 is fairly painless. Third party controls will make the upgrade irritating.
Also, you'll need at least one MSDN subscription for Visual Studio 2010 Ultimate in order to get TFS 2010 server. Unless of course the retail version of TFS 2010 is purchased separately. TFS 2010 server comes with 5 cal licenses. The others would need to be purchased separately at $500/ea, unless the rest of the development team is at least using VS2010 Pro.
Setting up basic build definitions, Manual, CI, gated, accrued are pretty straight forward and the way to go for building source.
What you'll also need to install TFS 2010 correctly:
Windows Server 2008 R2
SQL Server 2008 R2 *SQL express implementation not supported by Microsoft. SSRS and SSAS features for TFS.
SharePoint Foundation 2010 (free and limited) or SharePoint Server 2010
Visual Studio 2010 Ultimate for the build server.
持续集成在 TFS 2010 上运行良好。您可以非常轻松地将其设置为构建、运行测试、打包和部署。在 TFS 2010 中,您可以使用 Windows 工作流来构建构建过程。如果您不愿意,编写和维护 MSBuild 脚本不再困难。
Continuous Integration works great on TFS 2010. You can very easily set it up to build, run your test, package and deploy. In TFS 2010 you use Windows Workflow to construct your build process. No more difficult to write and maintain MSBuild scripts if you don't want to.