Jenkins / Hudson CI Linux RH 安装的最低要求

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8747533/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 03:56:12  来源:igfitidea点击:

Jenkins / Hudson CI Minimum Requirements for a linux RH installation

linuxhudsonredhat

提问by user1015510

We are planning on using Jenkins(used to be Hudson) for the automated builds of our project.

我们计划使用Jenkins(以前是 Hudson)来自动构建我们的项目。

I need to find out what it needs from a system requirements standpoint (RAM, disk, CPU) for a Linux RH installation.

我需要从系统需求的角度(RAM、磁盘、CPU)找出 Linux RH 安装需要什么。

We will be testing a Mobile application project.

我们将测试一个移动应用程序项目。

I did check this postbut couldn't find a response.

我确实检查了这篇文章,但找不到回复。

采纳答案by LeysS

I've been maintaining a Jenkins / Sonar / Nexus and I pointed out a minimal configuration (Debian 5):

我一直在维护 Jenkins/Sonar/Nexus,我指出了一个最小配置(Debian 5):

  • CPU : n/a (bye bye plain old school CPU at least ;) )
  • RAM : 1GB (I prefer 2)
  • HDD : depends on the needs. For my use, a 8 module J2EE Maven project + db scripts (6500 lines of code) represents less of 50 MB. I configured Jenkins to store 10 builds (500 MB)
  • CPU :不适用(至少再见普通老式 CPU ;))
  • RAM : 1GB (我更喜欢 2)
  • 硬盘:取决于需要。就我而言,一个 8 模块的 J2EE Maven 项目 + db 脚本(6500 行代码)表示不到 50 MB。我将 Jenkins 配置为存储 10 个构建 (500 MB)

However, if Jenkins has to manage several projects at the time, you have to consider few things:

但是,如果 Jenkins 必须同时管理多个项目,则必须考虑以下几点:

  • keep Jenkins data in a separate directory of the system (default install may put those in /usr) with the Jenkins config way of your choice
  • mount a dedicated HDD partition on this directory and let you a way to manage space on disk (virtual drive, partition resizing tool...)
  • supervising activity to prevent space left and avoid an angry boss :) (Nagios for example)
  • /usr使用您选择的 Jenkins 配置方式将 Jenkins 数据保存在系统的单独目录中(默认安装可能会将这些数据放入)
  • 在这个目录上挂载一个专用的硬盘分区,让你有一种管理磁盘空间的方法(虚拟驱动器,分区大小调整工具......)
  • 监督活动以防止留下空间并避免生气的老板:)(例如 Nagios)

Think about backup, other application on server, and a important thing - Jenkins resources depends on JVM capacity.

考虑备份、服务器上的其他应用程序,以及一件重要的事情 - Jenkins 资源取决于 JVM 容量。