-
New Feature
-
Resolution: Won't Fix
-
Major
I have two repos namely - commonlib.git, project1.git, and both of the have the root directories Source and CM. My Jenkins job is MultiGit_Job. I tried to configure a Jenkins job with two repos. During build, the source code for the first project is extracted (found when monitoring during the build execution) and the job fails during the second repo cloning. When I have analyzed the job's workspace, the commonlib.git source is extracted directly under workspace. There is identifier for commonlib repo. Because project1 repo also same root structure, the cloning is failing. It is a critical item for us as we are migrating our projects to GIT now. Thanks
[JENKINS-27668] Add support for multiple git repositories in a single workspace
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Resolution | Original: Not A Defect [ 7 ] | |
Status | Original: Resolved [ 5 ] | New: Reopened [ 4 ] |
Status | Original: Reopened [ 4 ] | New: Open [ 1 ] |
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Summary | Original: Multiple repo configuration dont have seperate local repo directory | New: Add support for multiple git repositories in a single workspace |
The git plugin does not directly support checkout of distinct repositories under a single workspace.
If you want to support distinct repositories under a single workspace, you'll need to use the multi-SCM's plugin to configure the separate repositories.