A
A
a000_000a2018-06-05 14:06:16
Maven
a000_000a, 2018-06-05 14:06:16

Authorization in Nexus does not pass, how to store login and password for Nexus?

Jenkins builds the project using Maven. Maven pulls artifacts from Nexus. Authorization fails. Where to register login and password?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-06-05
@saboteur_kiev

In the Maven settings on your jenkins nodes.
maven/conf/settings.xml should have a servers section with passwords like this

<servers>
  <server>
   <id>nexus</id>
   <username>user</username>
   <password>secret</password>
  </server>
</servers>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question