Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove artifacts from Nexus repository

I deployed some artifacts and I copy-pasted wrong name of those artifacts. I remember that manual playing with repository content brings problems.

What is the recommended way for dealing with these situations?

EDITED:

I thought there was no way of deleting artifacts from hosted repositories via web interface. Now I see that in the "Browse storage" section I can delete the artifact directory, which is the the recommended way I guess.

like image 614
lisak Avatar asked Sep 11 '10 21:09

lisak


People also ask

How do I remove artifacts from Nexus?

login as administrator, delete the artifacts you want to remove, and rebuild index for this repo. Show activity on this post. On my installation (Nexus 3.23, with a Python repository), the "delete component" isn't available in the WebGUI from the browse interface (even logged in as local admin).

Where are artifacts stored in Nexus?

If you have modified the configuration of Nexus, that configuration is stored in sonatype-work/. If you've uploaded artifacts to hosted repositories, customized repository metadata, or proxied artifacts from remote repositories, all of that data is going to be stored in sonatype-work/.

How do I remove Docker images from Nexus?

But basically 1) find the tags you want to delete listing them with the docker v2 api as reported in your quesiton. 2) delete those tags using the nexus asset API 3) set a nexus task of type "Delete unused docker manifests and blobs" 4) following this task, run a "compact blobstore" task to actually regain the space.

Is Nexus an artifact repository?

Manage your software componentsNexus Repository OSS is an open source repository that supports many artifact formats, including Docker, Java™, and npm.


1 Answers

Yup, in the past I've just deleted artifacts using the web GUI, no problems

like image 172
Mark O'Connor Avatar answered Sep 21 '22 00:09

Mark O'Connor