On 27.01.2014, at 17:27, zw <[email protected]> wrote:

> Will hudson.model.WorkspaceCleanupThread.disabled=true stop all jobs' 
> configuration to "clean workspace" if they are configured to do so ?

I'm not sure what you mean, so here's an what the property does:

This property only disables the periodic automatic workspace cleanup. It only 
cleans workspaces that are unused (there are a bunch of conditions, like 'on a 
different slave than the latest build was run on' and 'older than a month'), so 
it should have little impact on Jenkins.

If you refer to 'Delete Workspace before build starts' and 'Delete workspace 
when build is done' in your job configuration, that's the Workspace Cleanup 
Plugin[1]. Disable or uninstall this plugin to remove the feature from all 
jobs. This is completely unrelated to the property you mention.

There's also the 'Delete Workspace' menu item when viewing a job to manually 
delete a workspace between builds. To remove that, enable the 
'hudson.security.WipeOutPermission' system property and don't grant the new 
WipeOut permission to your users. Again, unrelated to the 
WorkspaceCleanupThread.disabled property.

1: https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to