OpenShift Nexus

From NovaOrdis Knowledge Base
Revision as of 23:41, 25 November 2017 by Ovidiu (talk | contribs) (→‎Installation)
Jump to navigation Jump to search

External

Internal

Overview

Nexus is a repository and artifact manager used by OpenShift to cache locally build dependencies, and those used by Maven in particular, close to builds. It is recommended to set up one per OpenShift cluster, to speed up Maven builds.

Installation

Use the following template: https://github.com/NovaOrdis/playground/blob/master/openshift/auxiliary-tools/nexus.yaml

Copy it locally and then:

oc process -f nexus.yaml | oc create -f -

Verification

Nexus should be available at: https://nexus-cicd.apps.openshift.novaordis.io

Troubleshooting

Interaction with OpenShift

OpenShift image builders check for the environment variable MAVEN_MIRROR_URL, which should point to: