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

Clone workspace does not work well with multiple scm plugin

      Currently the plugin will clean the destination workspace before the cloned workspace is copied there. This is problematic when the job uses the Multiple SCM plugin in to get another set of sources, even if set up correctly this leads to a complete checkout of all of the other sources for each invokation of the build.
      I guess allowing the user to choose to unzip the cloned workspace into a directory and to only clear this directory before copying might solve the problem.

      While one might argue that such an option might be better located in the multiple SCM plugin, other SCM plugins like SVN offer such an option. (Besides this option could be useful if cloning workspaces from more than one job will be possible)

          [JENKINS-9250] Clone workspace does not work well with multiple scm plugin

          Henrik Skupin added a comment -

          We hit this issue too in our ci system. abayer, given that you are assigned do you have any news about a possible fix?

          Henrik Skupin added a comment - We hit this issue too in our ci system. abayer, given that you are assigned do you have any news about a possible fix?

          We also have this issue, and this prevent us to use that plugin, instead we copy directly with the file path (but it does not work when jobs are not executed on the same machine).

          Thierry Fischer added a comment - We also have this issue, and this prevent us to use that plugin, instead we copy directly with the file path (but it does not work when jobs are not executed on the same machine).

          Same problem here, hope this will be fixed soon!

          Christian Beikov added a comment - Same problem here, hope this will be fixed soon!

          millergarym added a comment -

          Same issue. I'm a trying to use this plug-in to aggregated the artifacts from multiple other build. My work around is to do a wget of lastest builds' artifacts.
          Would be nice if this plug had a checkbox to just use the same glob as the artifacts.

          millergarym added a comment - Same issue. I'm a trying to use this plug-in to aggregated the artifacts from multiple other build. My work around is to do a wget of lastest builds' artifacts. Would be nice if this plug had a checkbox to just use the same glob as the artifacts.

            Unassigned Unassigned
            pushy Michael Pisula
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: