Jenkins Master and Slave containers sharing Jenkins home

37 views
Skip to first unread message

Tony Owens

unread,
Aug 17, 2016, 11:10:51 AM8/17/16
to Jenkins Users
I have a single Linux vm dedicated to running a Jenkins master container with Jenkins home mapped to an NFS mount.  I have two other Linux vm's with the same mount configured and have FS Root set to that path.  Am I asking for trouble by doing this?  If so, any explanation would be greatly appreciated.

Tony

Daniel Beck

unread,
Aug 18, 2016, 6:38:30 PM8/18/16
to jenkins...@googlegroups.com

> On 17.08.2016, at 17:10, Tony Owens <tony....@gmail.com> wrote:
>
> Am I asking for trouble by doing this?

Yes.

> If so, any explanation would be greatly appreciated.

Each process assumes it has exclusive access to its home directory. Mechanisms like allocating additional workspaces when running two builds of the same project in parallel will fail, caches for platform specific tool installers could be simultaneously be written to or have wrong content, etc.
Reply all
Reply to author
Forward
0 new messages