The user is "jenkins" as set up by the RPM. His home directory is /var/lib/jenkins. That's why I edited the .m2/settings.xml file there. I assume that the Maven build being launched is under the same user.

On 05/13/2012 05:16 PM, Richard Lavoie wrote:
what is the user running the jenkins process ? you need to put the .m2 folder 
in the home folder of that user.

Richard



On 2012-05-13, at 16:53, Dave Hicks<dh...@i-hicks.org>  wrote:

I'm sure I must be missing something simple.  I cannot get my Jenkins job to 
authenticate with my Nexus server to download artifacts.  I've got Jenkins installed 
on a Linux server.  I edited the /var/lib/jenkins/.m2/settings.xml file and added the 
appropriate<servers>  information.  My only guess is that this must not be the 
right location to configure that information?  It's just not working.

Any suggestions?

Thanks,
Dave

Reply via email to