Summary
The default location of the diskcache directory is whatever the system temp directory is. This is usually /tmp on Unix and whatever $TEMP is on Windows.You want the diskcache to use a different location.
Solution
Use "ecconfig -tempdir " to change the location of both the diskcache and the temp directory.
If for some reason you only want to change the diskcache directory then
In <install location ><arch>/bin/rundiskcache, find the line:
diskcacheman directory $::opts(tempdir)
And change the $::opts(tempdir) to a full path of where you want the new location to be.
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.