Thanks Mathus
This is really helpful for the short term. 
Changes on my side? Yeah, its probably more than the 30 days ago when 
building the projects...
And yes, you are right, building from scratch is better, at least every now 
and then.
J.


Op vrijdag 23 juni 2017 12:03:21 UTC+2 schreef Baptiste Mathus:
>
> BTW the default behaviour is actually already what you 
> want: hudson.model.WorkspaceCleanupThread.retainForDays is 30 days, so it's 
> very conservative.
>
> So either something changed on your side, or you're seeing a bug that may 
> need to be reported (with reproduction steps, as always, if you want to 
> raise your chance to see it fixed reasonably quickly).
>
> 2017-06-23 11:49 GMT+02:00 Baptiste Mathus <m...@batmat.net <javascript:>>
> :
>
>>
>> https://wiki.jenkins-ci.org/display/JENKINS/Features+controlled+by+system+properties
>>  
>> apparently nothing changed recently, introduced in 1.608.
>>
>> Though, beware this IMO: I would possibly raise the timing if you have 
>> data size issues and cannot improve it in the short term, but disabling 
>> this seems *very* dangerous to me, and is likely to lead to make your 
>> agents become snowflake and encourage config drift.
>>
>> Wiping out everything and starting from scratch as often as possible is 
>> the only way to make sure your testing are stable and you're not going to 
>> hit the flaky tests/build wall when you expect it the least...
>>
>>
>> 2017-06-23 11:26 GMT+02:00 Jaap de Jong <jpd...@gmail.com <javascript:>>:
>>
>>> Hi All,
>>>
>>> Every night old workspaces on my jenkins slave are cleaned and I have 
>>> not configured this, never!
>>> I can not find where this is configured. Is this perhaps new default 
>>> behavior?
>>> Not sure when this started, but might be since installing 2.64.
>>>
>>> Any help is appreciated!
>>>
>>> Thanks in advance
>>> Jaap de Jong
>>>
>>> -- 
>>> 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-use...@googlegroups.com <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/42d52a0b-7145-40ed-99fa-3978f83706c7%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/42d52a0b-7145-40ed-99fa-3978f83706c7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f995c9dc-0124-4044-a78a-d7b463424467%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to