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

The ability to clone from multiple repositories into separate directories would be useful

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      We have a git based hudson project, where we'd like to clone/pull from multiple separate git repos into
      the same workspace.

      Currently the only way to clone multiple repos assumes that we're attempting to merge contents, and
      works on the same directory [ the workspace root ].

      Would be good to be able to clone from multiple independent git repos into the same workspace, and
      specify the subdirectory they should be cloned to.

        Attachments

          Issue Links

            Activity

            Hide
            asinglepixel asinglepixel added a comment -

            We too have a project with several different git repositories. e.g. our code in one git repo, 3rd-party dependencies in other git repos. I'd like to be able to clone them to separate folders rather than one git repo taking over the entire workspace's root.

            Show
            asinglepixel asinglepixel added a comment - We too have a project with several different git repositories. e.g. our code in one git repo, 3rd-party dependencies in other git repos. I'd like to be able to clone them to separate folders rather than one git repo taking over the entire workspace's root.
            Hide
            abayer Andrew Bayer added a comment -

            Marking as a resolved duplicate.

            Show
            abayer Andrew Bayer added a comment - Marking as a resolved duplicate.
            Hide
            jaysonminard Jayson Minard added a comment -

            I don't think it is a duplicate, nor solves the problem. The related issue 6357 adds an advanced setting that is NOT per Git repo. It is one advanced setting that appears to apply to all GIT repo's evenly. So you still end up with them pulling on top of each other to the same location, yes?

            Show
            jaysonminard Jayson Minard added a comment - I don't think it is a duplicate, nor solves the problem. The related issue 6357 adds an advanced setting that is NOT per Git repo. It is one advanced setting that appears to apply to all GIT repo's evenly. So you still end up with them pulling on top of each other to the same location, yes?
            Hide
            mireczatko Miroslav Zaťko added a comment -

            Agree to Jayson. It is definitely not a duplicate of 6357 and it is not resolved yet. The setting should be per Git repository

            Show
            mireczatko Miroslav Zaťko added a comment - Agree to Jayson. It is definitely not a duplicate of 6357 and it is not resolved yet. The setting should be per Git repository
            Hide
            mireczatko Miroslav Zaťko added a comment -

            we need a setting per repository to fix this issue

            Show
            mireczatko Miroslav Zaťko added a comment - we need a setting per repository to fix this issue
            Hide
            abayer Andrew Bayer added a comment -

            The Multiple SCMs plugin is the solution here.

            Show
            abayer Andrew Bayer added a comment - The Multiple SCMs plugin is the solution here.

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                sdezzi sdezzi
              • Votes:
                5 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: