Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: 3.15.1
-
Fix Version/s: 3.20.0
-
Component/s: Cleanup, Documentation
-
Story Points:5
-
Epic Link:
-
Sprint:NXRM Trinity Sprint 15, NXRM Trinity Sprint 16
-
Notability:4
Description
We have a repositories (Docker and Maven) with assigned cleanup policy with only "Last Downloaded Before" field specified in Criteria
And scheduled task of type "Admin - Cleanup repositories using their associated policies" to apply those policies
But looks like this criteria is not working properly, because I see dozens of maven artifacts and docker tags that haven't been downloaded at all, and created months ago
In repository browser I can see something like this
Blob created Thu Jan 17 2019 14:35:20 GMT+0300 (Moscow Standard Time) Blob updated Thu Jan 17 2019 14:35:20 GMT+0300 (Moscow Standard Time) Last downloaded has not been downloaded
When I examine task logs, I see something like this
2019-03-14 20:01:37,871+0000 INFO [quartz-3-thread-19] *SYSTEM org.sonatype.nexus.cleanup.internal.service.CleanupServiceImpl - Deleting components in repository docker-snapshots using policy Clean_not_in_use_for_2_weeks
2019-03-14 20:01:37,879+0000 INFO [quartz-3-thread-19] *SYSTEM org.sonatype.nexus.cleanup.internal.service.CleanupServiceImpl - 2 components cleaned up for repository docker-snapshots
Attachments
Issue Links
- relates
-
NEXUS-19525 Allow cleanup to utilize more than a single policy
-
- Closed
-