Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3532

workspace with symlink causes svn exception when updating externals

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • subversion-plugin
    • None
    • Platform: All, OS: Linux

      I have a workspace that references a symlink. When an svn update occurs, svn
      externals fail with an error like this:

      ERROR: Failed to parse svn info for external
      http://10.1.42.211/svn/textura/lib/j4j/1.0 at
      portal/home/tomcat/hudson/workspace/portal/lib//j4j
      org.tmatesoft.svn.core.SVNException: svn:
      '/opt/cpms/hudson/workspace/portal/home/tomcat/hudson/workspace/portal/lib' is
      not a working copy
      at
      org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:149)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:355)
      at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:263)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:290)
      at
      org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.probeOpen(SVNWCAccess.java:275)
      at org.tmatesoft.svn.core.wc.SVNWCClient.crawlEntries(SVNWCClient.java:3027)
      at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2271)
      at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2647)
      at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:780)
      at hudson.scm.SubversionSCM$BuildRevisionMapTask.invoke(SubversionSCM.java:750)
      at hudson.FilePath.act(FilePath.java:552)
      at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:426)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:807)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
      at hudson.model.Run.run(Run.java:923)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

            kaxelson kaxelson
            kaxelson kaxelson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: