-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Not A Defect
-
Component/s: multi-branch-project-plugin (not Pipeline)
-
Labels:None
-
Similar Issues:
My project is set up to monitor and check out from 2 SCM sources of Git-type.
While polling works as expected, the generated jobs use only the first SCM source.
As a workaround, I tried to add a single Single Repository-type source with 'Mutiple SCMs', but then the SCM-selection list is empty (may a bug in scm-api-plugin)
That's not how Branch Sources work. By adding multiple sources, you're only providing multiple places to find a list of branches which will produce jobs with a single SCM. Multiple SCMs isn't currently a supported use case as far as I know. Semantically there are also a lot of problems with it. For example, the subprojects are named by branch. If you have multiple SCMs that requires a special naming strategy.
I recommend looking into Pipeline to see if it will support what you're trying to do. If not, then you should create a feature request with the Multiple SCMs plugin to implement multi-branch project support.