CI:Hudson 与 .Net 对比 CruiseControl.Net

发布于 2024-07-14 14:48:23 字数 111 浏览 7 评论 0原文

我在一家 .net 商店工作,希望集成 CI 服务器。 据我所知,Hudson 似乎是最受欢迎的选择。 考虑到我们是一家仅使用 .net 的商店,Hudson 会带来 CC.NET 不会带来的任何障碍吗?

I work for a .net shop looking to integrate a CI server. From what I've seen, Hudson seems to be the most popular choice. Considering we are a .net only shop, will Hudson present any hurdles that CC.NET will not?

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

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

发布评论

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

评论(5

预谋 2024-07-21 14:48:23

我想不出 Hudson 无法为我们的 C# 开发做的任何事情,即使使用基于 MSTest 的测试,您现在也可以使用 新插件(仅在测试一个程序集时有效)或我的方法适用于多个程序集。

我想唯一好的事情就是生成代码覆盖率数据并报告,不确定 CC.net 是否这样做。

此外,哈德逊似乎拥有更强大的社区支持。 我从未听说过有人在有选择的情况下选择 CC.net 而不是 Hudson。

我们用它来

  • 部署 Windows 服务、
  • 部署 Web 服务、
  • 运行 MSTests & 显示与任何 junit 测试一样多的信息
  • 跟踪低、中、高任务
  • 趋势图警告和错误

这些东西对于 Hudson 来说可能不是什么新鲜事,但我觉得有必要再次强调 Hudson 可以通过 .net 项目来处理这个问题,没问题。

以下是 Hudson 支持的一些内置 .net 内容

另外,上帝禁止您使用视觉源安全,它也支持。 我建议您查看 Redsolo 的关于使用 Hudson 构建 .net 项目的文章

I cant think of a single thing that Hudson hasnt been able to do for our C# development, even with MSTest based tests, you can now run and trendgraph on them with the new plugin (only works if you are testing ONE assembly) or my method which works on multiple assemblies.

I suppose the only thing that would be nice, would be to generate code coverage data and report on that, not sure if CC.net does that.

Also, Hudson seems to have much stronger community support. I've never heard of someone picking CC.net over Hudson if they had the choice.

We use it to

  • Deploy windows services
  • Deploy web services
  • Run MSTests & display as much information as any junit tests
  • Keep track of low,med,high tasks
  • trendgraph warnings and errors

These things may not be anything new to Hudson, but I felt the need to re emphasize that Hudson can handle this with a .net project, no problem.

Here are some of the built in .net stuff that Hudson supports

Also, god forbid you are using visual source safe, it supports that as well. I'd recommend you take a look at Redsolo's article on building .net projects using Hudson

獨角戲 2024-07-21 14:48:23

Hudson 对于初学者来说要容易得多。 我们用它来自动构建和打包 C++ Builder dll 和 exe。 考虑一下! 它不是 Java 也不是 C#。

Hudson is much easier for beginners. We use it to auto-build and pack C++ Builder dlls and exes. Think about that! It's not Java nor C#.

稀香 2024-07-21 14:48:23

我对哈德森几乎一无所知。 我想说的是,由于 CC.NET 基于 .NET,因此它往往有许多与 .NET 生态系统相关的内置和社区贡献的任务和报告:

MSBuild
视觉工作室
NC覆盖
单位
福克斯警察
因此

,如果您使用这些工具,您应该仔细检查 Hudson 对它们“开箱即用”的支持程度。 另外,如果您最终不得不编写自定义插件(我已经为 CCNET 编写了一些插件),那么能够使用用于“正常”开发的开发语言和 IDE 通常是有利的。

I know almost nothing about Hudson. I will say that since CC.NET is based on .NET, it tends to have lots of built-in and community-contributed tasks and reports relating to the .NET ecosystem:

MSBuild
Visual Studio
NCover
NUnit
FxCop
etc. etc. etc.

So, if you use these tools, you should carefully check how well they are supported "out-of-the-box" by Hudson. Also, if you end up having to write custom plugins (I have done a few for CCNET), it is usually advantageous to be able to use the development language and IDE that you use for "normal" development.

星星的軌跡 2024-07-21 14:48:23

我已经检查了 hudson 对 xunit 测试框架的支持,下面包含一个简短的摘要:

  • MBUnit/Gallio:是一个插件,但开发似乎不太活跃,使用它的社区也不太活跃。 例如,仅添加了一个问题。 4 月份报道过,但尚未触及(8 月份)。 (Gallio团队支持CC.Net的插件,他们的响应时间看起来好多了)
  • MSTest:有同样的问题。 问题跟踪系统中只有两个问题,平均响应延迟为 6 个月。 (看起来CC.Net对mstest有原生支持,但需要一些配置)
  • nUnit:hudson中对nunit的支持似乎相当不错。 开发团队的响应速度更快,报告的错误也更多(目前有 8 个)。

所以我想我要尝试一下CC.Net。

I've checked the hudson support for xunit testing frameworks a short summary is included below:

  • MBUnit/Gallio: There is a plugin but the development doesn't seems to be too active nor the community that use it. For example there is only one issue added. It was reported in reported in April and isn't touched yet (August). (Gallio team supports the plugin for CC.Net, their response time looks much better)
  • MSTest: Has the same problem. Has only two issues in the issue tracking system and an average response delay is 6 months. (It looks like CC.Net has native support for mstest but requires some configuration)
  • nUnit: The support for nunit in hudson seems to be quite good. The dev team is much more responsive and it also has more bugs reported (8 currently).

So I think I'm going to give the CC.Net a try.

倦话 2024-07-21 14:48:23

我无法理解为什么 .Net 开发人员会使用 Java CI 工具。
CruiseControl 是一个以 Java 为中心的工具。
这就是创建 CruiseControl.NET 的原因。
以.NET为中心的持续集成。

如果您想设置一个紧密集成的系统,您将为该系统编写自己的插件,以使其完全按照您的要求行事。

例如,将您关心的所有版本信息放在一起,然后写出包含版本的 AssemblyInfo.cs 文件。

I cannot fathom why a .Net developer would use a Java CI tool.
CruiseControl is a Java-centric tool a well.
This is why CruiseControl.NET was created.
.NET centric continuous-integration.

If you want to setup a tightly integrated system you will be writing your own plug-ins for the system to make it do exactly what you want.

e.g. Pull together all the version information you care about and then write out AssemblyInfo.cs files with the versions in them.

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