Re: workspace deletion

2012-08-06 Thread phil swenson
The problem with this plugin is it cleans the workspace EVERY run. This is simply a periodic maintenance task I want to run... On Fri, Aug 3, 2012 at 10:48 AM, Stanley, Jason wrote: > Install the "Workspace Cleanup Plugin" > > -Original Message- > From: jenkinsci-users@googlegroups.com >

Re: workspace deletion

2012-08-05 Thread Kanstantsin Shautsou
Also check $JENKINS_HOME/workspace/${JOB} . On 03.08.2012, at 19:39, David Weintraub wrote: > In Unix, you could do something like this: > > $ rm -rf $JENKIN_HOME/jobs/*/workspace/* > > Another possibility is: > > $ cd $JENKINS_HOME/jobs > $ find . -regex "\./[^/]+/workspace/[^/]+" -exec rm

RE: workspace deletion

2012-08-03 Thread Stanley, Jason
Install the "Workspace Cleanup Plugin" -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of phil swenson Sent: Friday, August 03, 2012 12:23 PM To: jenkinsci-users Subject: workspace deletion Is there an easy way to delete all t

Re: workspace deletion

2012-08-03 Thread phil swenson
right but I have to do that on every node. I have 15 of them and have needed to do this several times…. On Fri, Aug 3, 2012 at 10:39 AM, David Weintraub wrote: > In Unix, you could do something like this: > > $ rm -rf $JENKIN_HOME/jobs/*/workspace/* > > Another possibility is: > > $ cd $JENKINS

Re: workspace deletion

2012-08-03 Thread David Weintraub
In Unix, you could do something like this: $ rm -rf $JENKIN_HOME/jobs/*/workspace/* Another possibility is: $ cd $JENKINS_HOME/jobs $ find . -regex "\./[^/]+/workspace/[^/]+" -exec rm {} \; On Fri, Aug 3, 2012 at 12:23 PM, phil swenson wrote: > Is there an easy way to delete all the workspace