How to limit number of deployed snapshots artifacts in Nexus?

后端 未结 4 1960
一向
一向 2020-12-14 07:15

We are using Nexus to deploy our snapshot artifacts. Our build server deploys them during each build using the following command: mvn deploy. As result on each build the new

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-14 07:44

    If you have the administrator access in Nexus Then,

    1. Login to Nexus.

    2. Browse to Administration.

    3. Go to scheduled Tasks.

    4. You can add the task : Remove Old Snapshots.

    5. Select task type as Remove Snapshots from repository.

    6. You can define Minimum Snapshot count or Snapshot retention as needed.

提交回复
热议问题