Hi Dan We took your suggestion and in hopes of getting more direction from your kind advice. We checked to make sure that the job isn't configured to wipe out workspace. We then stop/start Jenkins/Hudson with hudson.model.WorkspaceCleanupThread.disabled=true. when system is up, On System property link, we could see hudson.model.WorkspaceCleanupThread.disabledtrue But wipeout still happens in the middle of the night. We even tried disconnecting/reconnecting with the slave and then run the job. What are we doing wrong to get this property set right ?
Sincerely On Monday, January 27, 2014 11:25:31 AM UTC-8, Daniel Beck wrote: > > > On 27.01.2014, at 17:27, zw <mpc...@gmail.com <javascript:>> 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 jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.