Install and configure Nexus 3 for Release Automation 6.9
search cancel

Install and configure Nexus 3 for Release Automation 6.9

book

Article ID: 282218

calendar_today

Updated On: 04-17-2024

Products

CA Release Automation - Release Operations Center (Nolio)

Issue/Introduction

As per the documentation, on new releases, the installer of the Repository is not provided:

Install and Configure a Standalone Repository

In this document will be explained how to download and install Nexus 3 repository and point a new Nolio Release Automation 6.9 installation to it.

Environment

Release Automation 6.9
Nexus 3

Resolution

First thing to do is Download and Install Nexus 3, the official site for Sonatype is:

https://help.sonatype.com/en/download.html

The installation has to be done from the CMD by invoking the installer:

Once done, Nexus is accessible from default port 8081:

It's recommended to create a Service for Nexus repository, which is done by running this command:

Once installed, a password has to be created for admin user. A temporary password is provided in the following file, located in the nexus folder:

By using this password for 'admin' user, a prompt is shown requesting to create a password.

Finally, as a way to let Release Automation connect to Nexus repository, the context can't be empty (which is the default). In order to update the context, the file ..sonatype-work\nexus3\etc\nexus.properties has to be updated, adding the context "/nexus/":

Restarting Nexus repository service will show that now the context 'nexus' is accessible from the browser:

Finally, the installation of Release Automation can be started and the details to connect to this Nexus 3 repository are as follow:

Host: localhost (on this example, Nexus and Nolio RA are installed locally on the same server)
Port: 8081
Repository Path: /nexus/repository/nolio 
Action Repository Path: /nexus/repository/nolio-actions
Manifest Repository Path: /nexus/repository/nolio-manifests
User: admin
Password: (defined previously).

Following these steps, Release Automation can be installed, pointing to Nexus 3 repository: