-
Bug
-
Resolution: Fixed
-
Major
Only considers direct subdirectories of jobs, and later calls getItem which can only work for top-level jobs.
Also process(Jenkins) is only looking for $JENKINS_HOME/jobs/*/workspace/ for builds run on master, which is deprecated—new installations use $JENKINS_HOME/workspace/*/. Ideally would handle any workspace location pattern, since this is configurable.
- is related to
-
JENKINS-4501 WorkspaceCleanupThread deletes Matrix project workspaces
-
- Resolved
-
Marking an LTS candidate since the current code not only fails to consider jobs in folders individually; it also tends to delete the workspaces of all jobs inside any folder when the timestamp on the top-level directory is at least a month old, even when the jobs are actively being built on that node. The only workaround for people using folders is to use -Dhudson.model.WorkspaceCleanupThread.disabled to turn this feature off entirely.