Skip to main content
Version: 1.7.x

Nexus Bundler for Hoppr

The Nexus Bundler is a plug-in to package the collected artifacts into an existing Nexus instance.

note

At this time, the Nexus Bundler only supports a single Docker repository per Nexus instance

Configuration

The following fields are supported values for configuring this plugin (in the Hoppr transfer configuration file):

OptionDescriptionDefault
urlThe URL for the Nexus APIPort 8081 on the server specified by the NEXUS_IP environment variable, using an http:// schema
usernameUser name to be used to access the Nexus instanceadmin
password_envEnvirionment variable containing the password to access the Nexus instance with the above usernameNEXUS_PW
docker_urlURL to be used to access the docker repository on the Nexus instance.Port 5000 on the server specified by the NEXUS_IP environment variable, using an http:// schema
docker_portPort on which the Nexus instance should listen for docker requests5000
force_httpIndicates whether docker requests should be accessed using the http:// or https:// url schema.False (docker requests must be made using https://)
tip

The port of the docker_url may differ from that specified by docker_port because of port forwarding (for example, if Nexus is run as a docker image). docker_port is the port used internally by Nexus.

For example, if Nexus is run as a docker image via docker run -p 1701:5000 sonatype/nexus3:3.40.1 then the docker_port would be 5000, and the docker_url would be something like https://myserver.com:1701/.