Best practices for Jenkins slave disk layout

54 views
Skip to first unread message

yeayu

unread,
Apr 30, 2016, 12:32:00 PM4/30/16
to Jenkins Users
Hello all,

I am just starting with Jenkins (Master/Slave mode) and I would like to know whether there is any best practices in regards setting up the disk layout of jenkins slave linux nodes.
I have seen examples where people simply use /home/jenkins as their remote FS root, but it this the right thing to do? what about /var/jenkins or /workspace?

I assume jenkins will work perfectly no matter what directory its defined in the slave, but I would like to know what's the common setting for this across the members of the community.

Thanks in advance.



Jakov Sosic

unread,
Apr 30, 2016, 2:54:46 PM4/30/16
to jenkins...@googlegroups.com
I personally use /home/jenkins, with workspaces on non-root block device
(either whole /home is on sdb or there is bind mount for
/home/jenkins/whatever).

But does it really matter? :) It doesn't affect performance in any way,
it's only cosmetics, so really, do it as you please. Just document it so
that your colleges can administer it once you're gone.



More interesting question would be what kind of block storage and what
filesystems are best for jenkins slaves - assuming large git
repositories operations (bunch of small files and random io)... Do you
guys use ext3, ext4, xfs? Or maybe FreeBSD slaves with ZFS?

Reply all
Reply to author
Forward
0 new messages