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

Clone from windows to linux slave fails

    Details

    • Similar Issues:

      Description

      If you enable the clone workspace plugin for a Linux slave and clone from the workspace of a Windows slave, the result is a flat directory of files containing the subdirectory paths with backslashes, instead of a directory tree.

        Attachments

          Activity

          Hide
          dogfood dogfood added a comment -
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1409
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Brian Lalor
          Path:
          changelog.html
          core/src/main/java/hudson/util/io/ZipArchiver.java
          core/src/test/java/hudson/util/io/ZipArchiverTest.java
          http://jenkins-ci.org/commit/jenkins/7e48d4ba4029062ccb13a6ba2a53e8e230b46402
          Log:
          [FIXED JENKINS-9942] Convert system path separator to "/"

          The ZipArchiver was visit()'d with a relative path that uses the system's path
          separator, but zip archives require a forward slash for platform compatibility.
          This fix replaces the platform-dependent File.separatorChar with a forward
          slash.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Brian Lalor Path: changelog.html core/src/main/java/hudson/util/io/ZipArchiver.java core/src/test/java/hudson/util/io/ZipArchiverTest.java http://jenkins-ci.org/commit/jenkins/7e48d4ba4029062ccb13a6ba2a53e8e230b46402 Log: [FIXED JENKINS-9942] Convert system path separator to "/" The ZipArchiver was visit()'d with a relative path that uses the system's path separator, but zip archives require a forward slash for platform compatibility. This fix replaces the platform-dependent File.separatorChar with a forward slash.
          Hide
          blalor blalor added a comment -

          Patch submitted via pull request. https://github.com/jenkinsci/jenkins/pull/340

          Show
          blalor blalor added a comment - Patch submitted via pull request. https://github.com/jenkinsci/jenkins/pull/340
          Hide
          abayer Andrew Bayer added a comment -

          I think this is probably an issue in the workspace archiver logic in the core.

          Show
          abayer Andrew Bayer added a comment - I think this is probably an issue in the workspace archiver logic in the core.

            People

            • Assignee:
              blalor blalor
              Reporter:
              djs Dan Savilonis
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: