On 04/30/2016 06:31 PM, yeayu wrote:
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.
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?
--
You received this message because you are subscribed to the Google Groups "Jenkins
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/5724FF6A.5000005%40gmail.com.
For more options, visit https://groups.google.com/d/optout.