Re: Reasons for workspace cleanup

2022-04-14 Thread mar...@gmail.com
When starting Jenkins you can change the default for the hudson.model.WorkspaceCleanupThread.retainForDays which is 30 days. Search for the property in Jenkins Features Controlled with system properties . What I have done is added

Re: Reasons for workspace cleanup

2022-04-11 Thread Fabian Cenedese
>>Workspaces Jenkins considers "unused" are wiped periodically. While this is >>intended to be safe, i.e., never delete the last workspace, or workspaces of >>running builds, it's not impossible that "active" workspaces are caught in >>rare circumstances. Check the workspace cleanup log in you

Re: Reasons for workspace cleanup

2022-04-11 Thread 'Daniel Beck' via Jenkins Users
On Mon, Apr 11, 2022 at 2:05 PM Fabian Cenedese wrote: > At 13:53 11.04.2022, you wrote: > > >Workspaces Jenkins considers "unused" are wiped periodically. While this > is intended to be safe, i.e., never delete the last workspace, or > workspaces of running builds, it's not impossible that "acti

Re: Reasons for workspace cleanup

2022-04-11 Thread Fabian Cenedese
At 13:53 11.04.2022, you wrote: >Workspaces Jenkins considers "unused" are wiped periodically. While this is >intended to be safe, i.e., never delete the last workspace, or workspaces of >running builds, it's not impossible that "active" workspaces are caught in >rare circumstances. Check the w

Re: Reasons for workspace cleanup

2022-04-11 Thread 'Daniel Beck' via Jenkins Users
Workspaces Jenkins considers "unused" are wiped periodically. While this is intended to be safe, i.e., never delete the last workspace, or workspaces of running builds, it's not impossible that "active" workspaces are caught in rare circumstances. Check the workspace cleanup log in your Jenkins hom

Re: Reasons for workspace cleanup

2022-04-05 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 05.04.2022 um 09:38 +0200 schrieb Fabian Cenedese: Are you talking about your own self-made cleanup jobs or is that something builtin into Jenkins? Self-made. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +4

Re: Reasons for workspace cleanup

2022-04-05 Thread Fabian Cenedese
At 08:55 05.04.2022, you wrote: >Am Dienstag, dem 05.04.2022 um 08:35 +0200 schrieb Fabian Cenedese: > >>My problem is now that sometimes the workspace on the node >>is completely wiped, sometimes even while the task is running >>which of course then makes it fail. But I couldn't find a reason >>w

Re: Reasons for workspace cleanup

2022-04-04 Thread 'Dirk Heinrichs' via Jenkins Users
Am Dienstag, dem 05.04.2022 um 08:35 +0200 schrieb Fabian Cenedese: My problem is now that sometimes the workspace on the node is completely wiped, sometimes even while the task is running which of course then makes it fail. But I couldn't find a reason why this would happen. There are various pl

Reasons for workspace cleanup

2022-04-04 Thread Fabian Cenedese
Hi I have a task that needs a lot of time. To not occupy Jenkins for days I made it like this that the task is started via cron on the agent, without Jenkins. In the end a Jenkins job is started to just get the results which is a matter of seconds. My problem is now that sometimes the workspace on