-
Notifications
You must be signed in to change notification settings - Fork 209
[Task Type] Maven | Delete unused SNAPSHOT
Olivier Clavel edited this page Nov 25, 2019
·
2 revisions
Name of task type (in GUI): Maven - Delete unused SNAPSHOT
typeId: repository.maven.purge-unused-snapshots
taskProperties:
repositoryName:
type: string
description: Name of repo to clean (* for all)
lastUsed:
type: integer
description: Last usage in days after which snapshots are deleted
nexus_scheduled_tasks:
- name: Clear snapshots unused for 30 days
typeId: repository.maven.purge-unused-snapshots
taskProperties:
repositoryName: *
lastUsed: 30
task_alert_email: alert@somewhere.info
schedule_type: manual