All Products
Search
Document Center

Alibaba Cloud DevOps:Artifact management

Last Updated:Apr 30, 2025

This topic describes how to manage artifacts in an Npm private repository in Alibaba Cloud DevOps Packages.

Before you start

Create an NPM repository.

Use an NPM repository

  1. Go to the NPM repository details page. In the left-side navigation pane, click User Guide.

  2. Download the npmrc file from the download link, or specify the push and pull parameters by following the instructions.

  3. Click the View icon to view the NPM account and password.

image - 2025-04-09T135452

View and manage an NPM artifact

  1. Go to the repository details page. In the left-side navigation pane, click Artifacts to view all artifacts in the repository.

  2. You can also search for artifacts by name. In the upper-right corner of the page, click the search icon and specify the artifact name.

image - 2025-04-09T143213

View artifact version details

  1. On the Artifacts page, click the name of the artifact, and the details of the latest version will be displayed.

  2. Switch to a different version by selecting the version from the drop-down list.

image - 2025-04-09T143422

Disable an artifact version

On the Artifacts page, click the name of the artifact and turn on Disable Artifact.

image - 2025-04-09T143555

Note

The scope of disabled artifact applies to a specific version, not the artifact. That is to say, if you disable the 1.0.0 version in the artifact details panel, version 1.0.0 will not be available for download. However, you can still download other versions of the artifact.

Manage artifact metadata

On the Artifacts page, click the name of the artifact, and then click the Metadata tab. Each version has its own metadata.

image - 2025-04-09T143900

Delete an artifact version

On the Artifacts page, click the name of the artifact, and then click Delete This Version.

image - 2025-04-09T144207

Deleted artifact versions can be recovered. In the left-side navigation pane on Packages homepage, click Recycle Bin, and click image to recover it from the recycle bin.

image - 2025-04-09T144453