Cleanup Policy Enhancements

Nexus Repository provides more flexible cleanup policy management to help control repository growth across a wider range of package formats. The Retain last N versions capability is now available for all versioned repository formats that support version semantics. For the newly supported formats, this capability is available exclusively in the Nexus One User Interface. Supported formats include:

I currently have Nexus version 3.96.0 and I still don’t see a purge policy with “Retain last N.” Versions only have daily purge policies. Both the old and new Nexus One UI versions don’t have “Retain last N.”

For retain-n policy your instance must be both Pro licensed, and using a PostgreSQL database:

If you meet both those requirements and are still having issues you could have your support contact file a ticket.