OpenShift Nexus: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 27: Line 27:
* [[OpenShift Nexus Kept Getting Restarted]]
* [[OpenShift Nexus Kept Getting Restarted]]
* [[OpenShift Nexus Pod failed to Start During the CI/CD Pipeline Deployment]]
* [[OpenShift Nexus Pod failed to Start During the CI/CD Pipeline Deployment]]
=Interaction with OpenShift=
OpenShift image builders check for the environment variable MAVEN_MIRROR_URL, which should point to:
* Nexus 2: https://nexus-cicd.apps.openshift.novaordis.io/content/groups/public
* Nexus 3: https://nexus-cicd.apps.openshift.novaordis.io/repository/maven-all-public

Revision as of 23:41, 25 November 2017

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: