When I am deleting the artifacts from Nexus3 repository, few of the manifest file is still pending in the repository. These are not being deleted completely from the nexus3. However few suggestions that I got is to "rebuild index".
How to rebuild the index so that it will allow me to show all the specified artifacts deleted?
I have tried using this library to delete the artifacts from nexus repos.com.github.dockerjava.api.command.RemoveImageCmd
.
However artifacts are being deleted from this library, but few of them are remaining like manifest files.
RemoveImageCmd removeImageCmd = client.removeImageCmd(imageFullName).withForce(true);
removeImageCmd.exec();
I expect to have output as deleted all the artifacts from the nexus repo along with the manifest file.