Remove old releases from a Nexus3-repository
This Groovy-script will purge old versions (sorted by version-number) from a repository hosted on Nexus 3.x.
You can set the desired repository and a maximum amount of versions at the begining of this script.