-
Notifications
You must be signed in to change notification settings - Fork 14
dsf configure nexus
In this document you will see how you can configure Nexus repository and how to integrate it with jenkins.
You need to have one repository for snapshots, another for releases and another one for release-candidates. Normally you use maven2 (hosted) repositories and if you are going to use a docker registry, you need docker (hosted) too.
To create a repository in Nexus go to the administration clicking on the gear icon at top menu bar. Then on the left menu click on Repositories and press the Create repository button.

Now you must choose the type of the repository and configure it. This is an example for Snapshot:

Once you have the repositories, you need a user to upload/download content. To do it go to the administration clicking on the gear icon at top menu bar. Then on the left menu click on Users and press the Create local user button.

Now you need to fill a form like this:

To use Nexus in our pipelines you need to configure Jenkins.
First of all you need to add the user created in the step before to Jenkins. To do it (on the left menu) click on Credentials, then on System. Now you could access to Global credentials (unrestricted).

Enter on it and you could see a button on the left to Add credentials. Click on it and fill a form like this:

This documentation is licensed under the Creative Commons License (Attribution-NoDerivatives 4.0 International).
-
cicd configuration
-
Manual configuration
-
Automatic configuration
-
-
Custom Services
-
Azure DevOps