Remove old realses

Hi there!
We’re using Nexus ver - 2.14.8-01.
Right now, we’r having too much data in our


Inside this folder, we have sub folders with service/project names , and their version - like this for example


And inside each version folder, there are several .pom files of course.

We want to keep only 10 last releases. That means, 10 last version folders.

If we don’t want to use any script, and want to use Nexus Dashboard , the correct way for it would be to create a task of “Remove Releases from Repository”?
And if so, I guess it should be :

Repository: Releases
Number to keep: 10
Repository target: All(Maven2)

Thanks in advance!

You may be looking for the Remove Releases from Repository scheduled task, described in the docs.