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

"Copy from workspace" does not work under certain circumstances

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: copyartifact-plugin
    • Labels:
      None
    • Environment:
      Multi slave environment.
    • Similar Issues:

      Description

      When:


      The new "Copy Workspace"-feature (introduced in JENKINS-7130) does NOT work if the following conditions are fulfilled:

      1. The source and destination job are running on different slaves
      2. "Flatten directories" is not used.

      Probably due to lack of support for remote-to-remote in FilePath.copyRecursiveTo().

      Result:
      -------
      The files cannot be found and copied.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : mindless
            Path:
            trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/WorkspaceSelector/config.jelly
            trunk/hudson/plugins/copyartifact/src/main/webapp/help-workspace.html
            http://jenkins-ci.org/commit/36200
            Log:
            [FIXED JENKINS-7751] add note about copy-from-workspace limitation

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/plugins/copyartifact/src/main/resources/hudson/plugins/copyartifact/WorkspaceSelector/config.jelly trunk/hudson/plugins/copyartifact/src/main/webapp/help-workspace.html http://jenkins-ci.org/commit/36200 Log: [FIXED JENKINS-7751] add note about copy-from-workspace limitation
            Hide
            mindless Alan Harder added a comment -

            marking bug fixed, as the limitation is now stated.. you can of course file a feature request to make copyRecursiveTo support slave-to-slave.. but I'm not likely to work on this :-/

            Show
            mindless Alan Harder added a comment - marking bug fixed, as the limitation is now stated.. you can of course file a feature request to make copyRecursiveTo support slave-to-slave.. but I'm not likely to work on this :-/
            Hide
            glundh glundh added a comment -

            The underlying core issue.

            Show
            glundh glundh added a comment - The underlying core issue.

              People

              • Assignee:
                mindless Alan Harder
                Reporter:
                glundh glundh
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: