How to use hudson when building for multiple platforms(为多个平台构建时如何使用 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:为多个平台构建时如何使用 hudson
基础教程推荐
- 为什么 typeid.name() 使用 GCC 返回奇怪的字符以及如 2022-09-16
- 如果我为无符号变量分配负值会发生什么? 2022-01-01
- 初始化列表*参数*评估顺序 2021-01-01
- 非静态 const 成员,不能使用默认赋值运算符 2022-10-09
- 我应该对 C++ 中的成员变量和函数参数使用相同的名称吗? 2021-01-01
- 通过引用传递 C++ 迭代器有什么问题? 2022-01-01
- 为什么 RegOpenKeyEx() 在 Vista 64 位上返回错误代码 2021-01-01
- GDB 显示调用堆栈上函数地址的当前编译二进制文 2022-09-05
- 为什么派生模板类不能访问基模板类的标识符? 2021-01-01
- CString 到 char* 2021-01-01
