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

"IllegalArgumentException: Cannot relativize" when using a symlink

XMLWordPrintable

      jlp01 reported on JENKINS-49413 :

      It's happening to me when we have a symbolic link:

      java.lang.IllegalArgumentException: Cannot relativize '/otroslogs/jenkins-slave-linux1_workspace/_fase_de_desarrollo_develop-ALBFALIG5NIYSNB3RJP57YZCFEWN2BOOLC4LAHO4X6PUMFPXW26Q/EprGestorX509/src/main/java' relatively to '/var/lib/jenkins/workspace/_fase_de_desarrollo_develop-ALBFALIG5NIYSNB3RJP57YZCFEWN2BOOLC4LAHO4X6PUMFPXW26Q'
       

      Folder "workspace" in "/var/lib/jenkins/workspace/" points to "/otroslogs/jenkins-slave-linux1_workspace/"

      So, at some point, it gets the real url and "thinks" it's a different path (but it's not)

            cleclerc Cyrille Le Clerc
            cleclerc Cyrille Le Clerc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: