Base CleanUp rule doesn't work

I want to delete everything older than 30 days since the last build (which means in my case, since today as the build is executed few times a day). This build is executed from Master branch only 

I understand the above settings as "Clean everyhing older than 30 days from last build/today" but ... what "Other items are kept forever" means? Don't know... what others if "Everything" is set?

So let's change this to the last 10 successful builds and check it everywhere in the rule:

To avoid the mystery "Other items are kept forever" I set also History and Artifacts. Still no luck. The number of successful builds on the list is > 10 in history. 

In fact, I wanted to achieve some more sophisticated setup which is:

keep artifacts and logs for 30 days
keep history only for 60 days - another word delete artifacts and logs older than 30 days but keep the statistic 
delete everything older than 60 days

But as this setup didn't work I started to make it simpler what didn't help. Please advise how it should be setup

 

0

Please sign in to leave a comment.