Yes, it is a bunch of JAR Files and other resources like DLLs. In Jenkins 
Remoting agents are lightweight libraries (slave.jar), which do not contain 
much logic OOTB. This cache is required in order to save remoting data and 
to avoid high classloading traffic every time your agent connects to the 
master and executes builds.

Currently Jenkins core enforces FileSystem JAR cache in remoting though 
Remoting can probably work without it. If you want to have such mode, feel 
free to submit issue in JIRA. Pull requests will be also appreciated.

Hopefully it helps,
Oleg Nenashev

пятница, 19 мая 2017 г., 15:25:42 UTC+2 пользователь Kristian X написал:
>
> Hi, 
>
> I read, that the Remoting library of Jenkins has a so-called Cache dir 
> (https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md). 
>
> Why is this cache dir needed? What is the purpose of it? And what is 
> concretely saved/cached in there? I only see a bunch of jar files... 
>

-- 
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/05370b2b-fa9c-46f9-809e-6189f6c3b0d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to