通过源代码控制监控自动构建
我正在使用 SourceSafe 2005,并且我有一个 VB.NET Framework 4 中的项目。
我想要的是一种自动化构建过程并希望集成轻松部署的方法。我希望能够在构建时发送自动通知,在消息正文中列出 SourceSafe 签入的注释。
我查看了一些选项,其中一些令人困惑。我已经看到它通过 SVN、nAnt 和 CruiseControl 实现,但看起来作为上述技术的新手可能需要很长时间才能掌握。
您认为设置此类内容的最简单方法是什么?
如果我必须为此开始使用 SVN,那么这也是一种可能性。
I am using SourceSafe 2005, and I have a project in VB.NET Framework 4.
What I want is a way to automate the build process and hopefully integrate easy deployment. I'd like to be able to send an automated notification when a build is made that lists the comments of the SourceSafe check-in's in the body of the message.
I've looked at a few options and some of them are confusing. I've seen it implemented with SVN, nAnt and CruiseControl, but it looks like it might take ages to set up being a novice of the aforementioned technologies.
What would be the easiest way to set something like this up in your opinion?
If I have to start using SVN for this, then that would also be a possibility.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您正在寻找简单的构建并可能部署到第一个环境,您应该能够使用任意数量的工具,包括免费的工具(例如 CC.Net)和团队级 CI 解决方案(例如 Sylvanaar 提到的)。
如果部署变得更加棘手,我公司的工具 (urbancode.com) 可能更合适,因为我们非常关注“什么”出现在 CI 的“构建”部分之后。
顺便说一句,VSS 是一个非常糟糕的存储源代码的地方(我听说多个客户将其称为“视觉源粉碎机”)。 Microsoft 的新 TFS 更好,Subversion(以及许多其他)也是如此。您不需要切换源代码控制来实现构建和部署。许多 CI 工具都具有 VSS 集成(您可以在此处找到列表)但是朋友不让朋友用VSS。
If you're looking for a simple build and maybe a deployment to the first environment, you should be able to use any number of tools including free ones like CC.Net and team level CI solutions like Sylvanaar mentioned.
If the deployment gets trickier, my company's tools (urbancode.com) could be more appropriate as we focus pretty hard on the "what comes after the build" part of CI.
As an aside, VSS is a pretty terrible place to store your source code (I've heard it called 'visual source shredder' by multiple clients). Microsoft's new TFS is better, as is Subversion (and many, many others). You do not need to switch source control to implement build and deploy. Many CI tools have VSS integrations (you can find a list here) but friends don't let friends use VSS.
我推荐 TeamCity 它支持 SourceSafe 和 SLN 的构建或通过 MSBUILD 构建。
I recommend TeamCity It supports SourceSafe and building of SLN's or via MSBUILD.