title: Jenkins Build fails with SVNException
body: <p>I am trying to run a jenkins build. The below is my configuration.</p>
  
  <p>Jenkins Version : 1.445<br>
  Deployment : as a WAR<br>
  Java : 1.7 (Server 64 bit)<br>
  Tomcat Ver : 7.0.23</p>
  
  <p>It gives the following error:</p>
  
  <pre><code>Started by user jenkins-admin
  Updating https://myrepo.mycompany.com/svn/repos/myrepo
  ERROR: Failed to update https://myrepo.mycompany.com/svn/repos/myrepo
      org.tmatesoft.svn.core.SVNException: svn: OPTIONS /svn/repos/myrepo failed
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:298)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:283)
      at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:271)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:533)
      at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1011)
      at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getRepositoryUUID(DAVRepository.java:148)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:342)
      at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:330)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:535)
      at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:401)
      at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:135)
      at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136)
      at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:787)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:768)
      at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:752)
      at hudson.FilePath.act(FilePath.java:783)
      at hudson.FilePath.act(FilePath.java:765)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:742)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:684)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1195)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:571)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460)
      at hudson.model.Run.run(Run.java:1404)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:481)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)
  Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: OPTIONS /svn/repos/myrepo failed
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146)
      at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89)
      ... 27 more
  Caused by: org.tmatesoft.svn.core.SVNException: svn: OPTIONS request failed on '/svn/repos/myrepo'
  svn: unknown host
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
  </code></pre>
  
  <p>The problem is it does NOT fail all the time. However, it fails 70-80% of the time.
  The credentials and the URL for svn repo are correct.</p>
  
  <p><strong>UPDATE</strong>: I have tried every possibility now. The problem persists.
  I tried with JDK 6 (both 32 and 64 bit). The problem does NOT go.</p>
  
  <p>I am working on RHEL 5.6. Can anybody please help?</p>