为多个平台构建时如何使用 hudson [英] How to use hudson when building for multiple platforms

查看:24
本文介绍了为多个平台构建时如何使用 hudson的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我们正在为 Win32 平台构建许多 C++ 应用程序.我们将很快移植到 Linux,然后可能更多(32 位和 64 位).

Right now we are building a number of C++ apps for Win32 platform. We will be soon porting to Linux and then maybe more (32 and 64 bits for both).

标准做法是什么,您是在各自的平台上使用多个 hudson 服务器进行构建,还是使用 hudson 服务创建 VM 并进行构建?

What is the standard practice , do you use multiple hudson servers each on their own platform to do a build, or does the hudson service create VMs and do builds?

我不清楚最好的实用方法.

It is not clear to me the best practical way to do this.

理想情况下,我只想要一个带有一堆运行 hudson 的 VM 的盒子,然后它会根据需要启动构建.

Ideally I just want one box with a bunch of VMs running hudson, and then it kicks off builds as needed.

有没有人可以为此指出我的资源?

Is there a resource someone can point me to for this?

推荐答案

我们使用 Hudson 来管理针对多个操作系统的 C/C++(GNU C、GNU C++、Watcom C)构建.对我们来说,软件是为 Linux、Linux x64、QNX 4 和 QNX6 构建的.我们设置它的方式是:

We use Hudson to manage C/C++ (GNU C, GNU C++, Watcom C) builds for multiple OSs. For us, software is built for Linux, Linux x64, QNX 4, and QNX6. The way we have it set up is:

  • 1 x VM 用于 Hudson 服务器,运行 Windows
  • 4 x VM,每个从属类型一个,所以我有 4 个 Hudson 从属 - QNX4、QNX6、Linux 32 和 Linux 64 各 1 个.它们都运行在同一台服务器上,就像不同的 VM,我们没有遇到任何问题.我们构建了大约 100 个项目,几乎均分在 4 种系统类型之间.

您不需要任何额外的硬件.有一个与 VMWare 虚拟机配合使用的 Hudson 插件,可以根据需要启动和关闭它们.

You should not require any additional hardware. There is a Hudson plugin that works with VMWare VMs, to start them up and shut them down as required.

希望对你有帮助.

这篇关于为多个平台构建时如何使用 hudson的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆