Krupa
Krupa

Reputation: 455

Cleanup task for npm-snapshots repository on Nexus

My requirement is to remove packages older than 30 days from npm snapshot repository on nexus. Nexus provides clean-up task for maven packages and that I have am using.

Maven Task: enter image description here

Looking for similar functionality for npm packages.

Upvotes: 2

Views: 811

Answers (1)

joedragons
joedragons

Reputation: 2645

UPDATE: In NXRM3.14 we released the described format generic cleanup solution as described here. This should cover the case described here. There may be other cases needed (for example, number retained as shown in the screenshot), in which case feel free to look for and file a JIRA ticket if you do not see the feature request.

Currently there is no such task in NXRM3. We are actively working on a general (non-Maven specific) cleanup solution. There are tickets in the tracking system, see here as an example: https://issues.sonatype.org/browse/NEXUS-12706. Your use case should be covered by our design but if you have any specific needs, feel free to comment there or on our user list.

Upvotes: 1

Related Questions