可能是这种情况,我脑海中的一些事情已经在这里讨论过,但我真的非常感谢能够在 Jenkins CI 上实现以下效果的逐步答案,首先所有 - 这是我可以使用的工具:
- 两个 Jenkins CI 服务器 - Jenkins A 和 Jenkins B ;
- Jenkins B 不能作为构建的数据存储,因此工件、测试等应该保存在 Jenkins A :( ;
- Apache Ant (latest) 和 NAnt (latest) 上。
目标是实现以下目标: 能够开始构建在 Jenkins A 上,制作源代码并在 Jenkins B 上构建,但在 Jenkins A 上再次存档并显示工件。
正如我在 google 上搜索的那样,我发现有一个广泛使用的术语 - “分布式构建”......是这样的吗 目前也在
两台机器上使用最新的 Jenkis CI 版本( Jenkins A 和 Jenkins B ),
我需要使用什么作业配置才能在我的公司域下进行此类多 Jenkins 设置?
It might be the case here some of things I have in my mind and in this subject has already been discussed here, but I really would be very thankfull to have step-by-step answer on achieving the following efect on Jenkins CI, First of all - here is tools I can operate with:
- Two Jenkins CI servers - Jenkins A and Jenkins B ;
- Jenkins B cannot serve as data storage for builds, therefore the artifacts, test, etc. should be saved on Jenkins A :( ;
- Apache Ant ( latest ) and NAnt ( latest ) .
The goal is to achieve the following: Ability to start build on Jenkins A, make source code and build on Jenkins B, but archive and show the artifacts again on Jenkins A.
As much I have googled, I found there is term widely used - "distributed build" ... is it the case here, too?
Currently using latest Jenkis CI version available on both machines ( Jenkins A and Jenkins B ).
What job config I need to use to be able to do such multi-Jenkins setup under my company domain?
发布评论
评论(1)
您不想在两台机器上都安装完整的 Jenkins。
在我看来,您应该在机器 A 上安装 Jenkins,并将机器 B 设置为该 Jenkins 安装的从属节点。 Jenkins UI 使这变得非常直观,但如果您需要详细信息,可以在这里找到:
完成此操作后,您将需要显式配置您的作业,以便:
You do not want to have a full Jenkins install on both machine.
What is sounds like to me is you should be installing Jenkins on machine A, and set up machine B as a slave node to that Jenkins installation. The Jenkins UI makes this very intuitive, but if you need details they are available here:
Once you've done that, you will need to explicitly configure your job so that it: