Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins / Hudson CI Minimum Requirements for a linux RH installation

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

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

We will be testing a Mobile application project.

I did check this post but couldn't find a response.

like image 441
user1015510 Avatar asked Jan 05 '12 18:01

user1015510


People also ask

How install and configure Jenkins in Linux?

Install Apache Tomcat Version 9 – Tomcat is required to deploy Jenkins war file. Download Jenkins war File – This war is required to install Jenkins. Deploy Jenkins war File – Jenkins war file needs to be deployed using Tomcat to run Jenkins. Install Suggested Plugins – Install a list of plugins suggested by Jenkins.

Where Jenkins is installed in Linux?

Change Jenkins Home on Linux Note: The default location for the Jenkins configuration file on Ubuntu and Debian is /etc/default/jenkins. If you are working with RedHat, CentOS, or Fedora, the Jenkins configuration file is located at /etc/sysconfig/jenkins.

What is Jenkins RedHat?

Jenkins is an open source automation server based on Java. It works on the top of servlet containers.

How do I know if Jenkins is installed on Linux?

Or on the Jenkins home screen when it is running click the About button and you will see the version number there.


1 Answers

I've been maintaining a Jenkins / Sonar / Nexus and I pointed out a minimal configuration (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)

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

  • 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)

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

like image 61
LeysS Avatar answered Oct 02 '22 05:10

LeysS