title: SVN / Jenkins / MAVEN - Authentication Problems
body: <p>I have some problems on svn authentication with jekins and maven.</p>
  
  <p>Here are the steps of my work : </p>
  
  <ul>
  <li>I install Jenkins on a new machine (linux Cent OS).</li>
  <li>I declare 2 jobs into jenkins. </li>
  <li>First job chechout application from svn url <a href="https://mydomain.com/myProject1/trunk" rel="nofollow">https://mydomain.com/myProject1/trunk</a>, i configure credentials for this url with : user1/pwd1</li>
  <li>2nd job chechout application from svn url <a href="https://mydomain.com/myProject2/trunk" rel="nofollow">https://mydomain.com/myProject2/trunk</a>, i configure credentials for this url with : user2/pwd2</li>
  </ul>
  
  <p>At this time no Problem, all builds are OK.</p>
  
  <p>Now one developper tell me that when he want to use jenkin's menu entry : "Perform Maven Release", he's got the following error "/bin/sh: svn: command not found".
  I tell me that jenkins for doing builds use his own svn plugin but maven look for a real svn client install on the machnine.</p>
  
  <ul>
  <li>So i install a svn client on this machine</li>
  </ul>
  
  <p>Now my problem is that i can't use both snv users user1 and user2 at the same time.
  I have SVNAuthenticationException.</p>
  
  <p>When i do a manual chekout of project1 with user1, all my builds for project 1 are ok but builds for poject2 are KO.
  And the inverse is right too, i do a manual checkout of project2 with user2, here builds for project2 are ok and builds for project1 are KO.</p>
  
  <p>I think credentials are save or in a cache on the machine (svn client side) when i do the manual checkout and after that, jenkins use them to builds All the projects.</p>
  
  <p>Have you ever see that problem ? have you a solution ?</p>
  
  <p>Any help is appreciate.</p>
  
  <p>Thanks by advance.</p>
  
  <p>--</p>
  
  <p>Loïc</p>