C# 独立开发人员的最佳持续集成设置 (.NET)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/264307/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-03 20:26:51  来源:igfitidea点击:

Best Continuous Integration Setup for a solo developer (.NET)

c#.netasp.netcontinuous-integration

提问by mwHymanson

I'm looking for a lightweight, easy to setup CI server that I can run on my laptop along with Visual Studio & Resharper. I'm obviously looking at all the big names like CruiseControl, TeamCity etc etc but the biggest consideration to me is ease of setup and to a lesser extent memory footprint.

我正在寻找一种轻量级、易于设置的 CI 服务器,它可以与 Visual Studio 和 Resharper 一起在我的笔记本电脑上运行。我显然正在考虑所有大牌,如 CruiseControl、TeamCity 等,但对我来说最大的考虑是易于设置和较小程度的内存占用。

Edit: I'd also like some suggestions for other solutions outside the big 2/3...

编辑:我还想对大 2/3 之外的其他解决方案提出一些建议......

Edit: I'm about to accept an answer if no one else has anything to add?

编辑:如果没有其他人要添加任何内容,我将接受答案?

采纳答案by CMS

I use TeamCity, and is really, really easy to setup and get it running.

我使用TeamCity,并且非常非常容易设置和运行。

Check the Demos and Documentation. You will have it up and running in less than one hour!

检查演示和文档。您将在不到一小时的时间内启动并运行它!

回答by torial

For ease of use, I have found CruiseControl.Net to be very easy. Now when it comes to memory footprint, I'd have to say it does chew up my system. That isthat a development box that also hosts CruiseControl.Net is not a good way to go. Unfortunately that is all I had access to when I used it in the past.

为了便于使用,我发现 CruiseControl.Net 非常简单。现在说到内存占用,我不得不说它确实消耗了我的系统。 也就是说,同时托管 CruiseControl.Net 的开发箱并不是一个好方法。不幸的是,这就是我过去使用它时所能访问的全部内容。

I can't speak to the other tools.

我无法与其他工具交谈。

回答by Mike Minutillo

I have just started to use CruiseControl.NET.

我刚刚开始使用 CruiseControl.NET。

With no prior knowlege I was able to get it up and running with a single test project using MSBuild, MSTest and Team Foundation Server (i.e. CodePlex) in a couple of hours. I posted a bunch of links to useful resources here Devsta 2008 Day 0: Source Control and CI

在没有任何先验知识的情况下,我能够在几个小时内使用 MSBuild、M​​STest 和 Team Foundation Server(即 CodePlex)启动并运行单个测试项目。我在Devsta 2008 Day 0: Source Control and CI 上发布了一堆有用资源的链接

I can't help on memory footprint as my project was pretty small. I can tell you that while it's not doing anything (i.e. most of the time) it is using ~5MB on my system. In fact the Tray Icon notifier that comes with it takes up more memory than the service at about 6MB. That goes up when it does stuff of course.

由于我的项目很小,我无法解决内存占用问题。我可以告诉你,虽然它没有做任何事情(即大部分时间),但它在我的系统上使用了大约 5MB。事实上,它附带的托盘图标通知程序比服务占用更多的内存,大约为 6MB。当然,当它做一些事情时,它就会上升。

回答by Jeff Sheldon

I use CI as a Solo Developer.

我使用 CI 作为单独的开发人员。

When I merge my dev branch into my test branch, CI grabs the code, compiles it, modifies the connection string, changes a couple of app settings, and copies it up via Beyond Compareto my test site for people testers to have a look at.

当我将我的 dev 分支合并到我的测试分支时,CI 抓取代码,编译它,修改连接字符串,更改几个应用程序设置,并通过Beyond Compare将其复制到我的测试站点,供测试人员查看.

回答by Jonik

Hudson(update: Jenkins1) is extremely easy to set up, and managing jobs (projects) in it is certainly a breeze compared to e.g. CruiseControl. It works great for a solo developer too.

Hudson(更新:Jenkins 1)非常容易设置,与 CruiseControl 等相比,在其中管理工作(项目)当然轻而易举。它也适用于单独的开发人员。

For more, see this answer about using Hudson specifically in a .NET environment.

有关更多信息,请参阅有关在 .NET 环境中专门使用 Hudson 的答案

(1Background info about Hudson/Jenkins situation: How to choose between Hudson and Jenkins?)

1关于哈德森/詹金斯情况的背景信息:如何在哈德森和詹金斯之间做出选择?