在单台计算机上持续构建 .NET 和 Java 项目

发布于 2024-07-14 11:52:05 字数 158 浏览 4 评论 0原文

是否可以在单个构建服务器上使用单组应用程序设置用 .NET 和 Java 编写的项目的连续构建?

我已经看到 CruiseControl 支持这两个世界,但据我所知,这是两个独立的应用程序。 我应该使用单独的机器来构建 Java 项目(已经设置了用于 .NET 项目的机器)吗?

Is it possible to set up continuous build of projects written in .NET and Java on single build server with single set of applications?

I've seen CruiseControl has support for both world but as far as I know these are two separate applications. Should I go with a separate machine to build Java projects (a machine for .NET projects is already set up)?

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

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

发布评论

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

评论(5

忆沫 2024-07-21 11:52:05

Hudson 支持 Ant(开箱即用的 IIRC)和 NAnt (通过插件),所以这是您的一个选择。

Hudson has support for both Ant (out of the box IIRC) and NAnt (through plugin) so that's an option for you.

眼藏柔 2024-07-21 11:52:05

CruiseControl 支持多种不同的构建选项,包括Ant, MavenNAnt,< a href="http://cruisecontrol.sourceforge.net/main/configxml.html#phing" rel="nofollow noreferrer">Phing (php), Rake, XCode,然后是通用的“exec “您可以使用它来调用您想要的任何命令行脚本/工具。 在同一服务器上混合 Java 和 .NET 不是问题。

当然,这并不是 CruiseControl 所独有的。 有很多 CI 工具支持多种构建技术,如您在 特征矩阵

免责声明:我从事 CruiseControl 工作。 OTOH,因为我不靠它赚钱,所以我不太关心人们选择哪种工具。 我更关心推动 CI 实践的发展,这就是我组织持续集成和测试会议 (CITCON) 的原因。

CruiseControl supports several different build options include Ant, Maven, NAnt, Phing (php), Rake, XCode, and then the generic "exec" which you can use to invoke any command-line script/tool you want. Not a problem mixing Java and .NET on the same server.

Of course this is not unique to CruiseControl. There are lots of CI tools that support multiple build technologies as you can see on this matrix of features.

Disclaimer: I work on CruiseControl. OTOH since I don't make money on it I don't much care which tool people choose. I care more about advancing the state of CI practices which is why I organize the Continuous Integration and Testing Conference (CITCON).

哆啦不做梦 2024-07-21 11:52:05

AntNAnt 可以相当轻松地执行任意进程,包括彼此,因此实际的构建部分应该不会太难。

我希望棘手的一点是将报告(包括单元测试结果)转换为适当的格式。 你的 XSLT 怎么样? ;)

编辑:现在我想起来了,我的第一个敏捷项目有一个持续构建服务器(我相信只是 CruiseControl),它一定一直在做其中的一些事情......我当时怀疑我们直接调用 Visual Studio 来构建代码,并调用 NUnit 来测试它。 如果我在同一家公司,我会检查一下,但那是两份工作前的事了:(

Ant and NAnt can reasonably easily execute arbitrary processes, including each other, so the actual build part shouldn't be too hard.

I'd expect the tricky bit to be getting the reports (including unit test results) into an appropriate format. How's your XSLT? ;)

EDIT: Now that I think about it, my first agile project had a continuous build server (just CruiseControl, I believe) which must have been doing some of this... I suspect at the time we directly invoked Visual Studio to build the code and NUnit to test it. If I were at the same company I'd check, but that was two jobs ago :(

嗳卜坏 2024-07-21 11:52:05

您可以查看 Atlassian Bamboo。 不幸的是,它不是免费的,除非您正在申请开源/社区许可证以与开源软件一起使用。

You could checkout Atlassian Bamboo. Unfortunately, its not free, unless you are applying for an opensource/community license for use with opensource software.

稚气少女 2024-07-21 11:52:05

您可以在同一台机器上使用两种不同的产品。 或者您可以在多台机器上运行单个构建系统。 这实际上取决于您对 CI 施加的负载。

You can use two different products on the same machine. Or you can run a single builds system across multiple machines. It is really up to the load you place on your CI.

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