Download the artifact from Nexus OSS 3.0.0-03 using the / wget browser

I have a local installation of Nexus OSS 3.0.0-03.

I can upload a snapshot and issue banners.

Now I want to download these banks through a browser or wget, but I can not find the REST API call for this (for example, in the shell script executed by Jenkins).

Prior to version 3, it seems that you can use something like: http: // MY_REPOSITORY / nexus / service / local / artifact / maven / content? R = repoId & g = groupName & a = art & v = LATEST

Any ideas on how to do this with version 3?

+4
source share
2 answers

nexus

curl -O -X GET -u user:password https://your.nexus.com/repo/artifact.jar

, bash. -

curl -O -X GET -u user https://your.nexus.com/repo/artifact.jar 
0

All Articles