Upload, download, version, and organize artifacts in a generic repository.
Prerequisites
A generic repository is created. For more information, see Create a repository.
Use a generic repository
In your generic repository, click User Guide. The guide explains how to upload and download artifacts manually, via a CI/CD pipeline, and by using the API.
To upload an artifact from the artifacts page, in the Upload Artifact dialog box, enter a Path (for example, /myproject/mypath), select a File, specify a Version, and click Confirm Upload. To download an artifact from its details page, select the target version (for example, V2.0.0) from the Version drop-down list.
View and manage generic artifacts
On the repository's home page, click Artifacts to view all artifacts. Click the
icon to search by artifact name.
View artifact version details
Click an Artifact Name to view the artifact's details. By default, the page displays information for the latest version. Click the
icon to switch versions.
The version details include fields such as Pushed by, Pushed time, md5, Storage size, Downloads, Last downloaded, and Version description. At the bottom of the page, you can find a Download This Version button, a Delete This Version button, and a Disable Artifact switch.
Disable an artifact version
On the artifact details page, click the Disable Artifact switch to disable that version.
Disabling applies only to a specific version, not the entire artifact. For example, if you disable the myweb-demo-1.0.jar version, it can no longer be downloaded. However, other versions, such as opt/myweb-demo-2.0.jar, remain available for download and use.
Manage artifact metadata
On the artifact details page, click the Metadata tab to manage metadata for the current version. Metadata applies only to the specific version you are viewing.
In the Custom Metadata section, manage metadata entries using the Key and Value columns. You can edit or delete existing entries, or click Add Metadata to create a new one.
Delete an artifact version
On the artifact details page, click Delete This Version.
To restore a deleted artifact version, go to the repository's home page and click Artifact Recycle Bin. Then, click the
icon to restore the version.
To permanently delete the artifact version, go to the artifact recycle bin and click the Delete icon in the Actions column for that version.