agent-cache-directory

Issue

While I’m looking in the support bundle I found at the file-descriptors.txt few jar files under this /home/username/.jenkins/cache/jars, what are these jar files?
Who stores them in there as well?
Would that cache increase later on due to node connection, and disconnection?
Can I change the .jenkins directory location?

Environment

  • CloudBees Jenkins Enterprise > 1.596.1.1
  • Jenkins LTS > 1.596.1
  • Jenkins > 1.600
  • SSH Slaves plugin
  • Windows Slaves Plugin

Resolution

The remoting library supports local jar file caching for the efficiency in remote class loading. The cache stores jar files sent by the other side, and identifies jars with MD5 checksums that uniquely identifies its content. This allows the cache to be reused by future channel sessions or other concurrent channel sessions. You can change the .jenkins directory location by passing user.home property to your agent.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.