Re: How to fix workspace deletion on slave node

2021-04-29 Thread DHAVAL JAISWAL
teps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build> > > artifacts generated in the workspaces to the controller. Be aware if you > are using parallel builds automatic workspace deletion can cause job > failures when the workspace is deleted automatical

Re: How to fix workspace deletion on slave node

2021-04-16 Thread Senthil Nathan
Agree. You can stash <https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#stash-stash-some-files-to-be-used-later-in-the-build> artifacts generated in the workspaces to the controller. Be aware if you are using parallel builds automatic workspace deletion can cause job failure

Re: How to fix workspace deletion on slave node

2021-04-16 Thread 'Dirk Heinrichs' via Jenkins Users
Am Donnerstag, den 15.04.2021, 23:39 +0530 schrieb DHAVAL JAISWAL: > Guide me on how can I fix this issuer permanently & save my workspace > and build. Don't do that. Use an "Archive Artifacts" post build step in your job to archive exactly those build artifacts you really need. HTH...

Re: How to fix workspace deletion on slave node

2021-04-16 Thread 'Björn Pedersen' via Jenkins Users
Best idea is to avoid relying on the workspace being preserved at all . So if you are deplyoing something, then do it by installing/copying/whatever the final artifacts in a place outside the workspace. m.s.sent...@gmail.com schrieb am Freitag, 16. April 2021 um 03:18:23 UTC+2: > This is a

Re: How to fix workspace deletion on slave node

2021-04-15 Thread Senthil Nathan
This is a system property that should be set when starting up jenkins. You would want to set *hudson.model.WorkspaceCleanupThread.disabled* to true to disable deletion of workspaces. Usage is documented here: https://www.jenkins.io/doc/book/managing/system-properties/ On Thu, Apr 15, 2021 at 11:

How to fix workspace deletion on slave node

2021-04-15 Thread DHAVAL JAISWAL
Workspace on Slave node is deleted if the Job is not running/active from Master Jenkins for some days. How shall I fix this issue? While referring to some forum advising to fix *hudson.model.WorkspaceCleanupThread.disabled* [ false ]. However, I am unable to find this parameter. Guide me on how

Re: workspace deletion

2012-08-06 Thread phil swenson
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 the workspaces on all nodes? > > I looked at the CLI - doesn't appear to help. > > thanks >

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

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

workspace deletion

2012-08-03 Thread phil swenson
Is there an easy way to delete all the workspaces on all nodes? I looked at the CLI - doesn't appear to help. thanks