Hi Today each JVM receives its own work.dir, e.g. J0, J1 and so forth. I think I've hit on my Jenkins an error that was caused due to overlapping builds, one deleted the work.dir of the other.
So maybe we can do a best effort to detect the PID and if success, append it to work.dir, e.g. J0_9324? If the JVM ManagementBean is able to return a parseable PID, then we use it, otherwise we stick w/ J0. Is it possible? In the meanwhile, I've configured my Jenkins to not run overlapping builds. Shai