This plugin is really good. But currently it doesn't support "Multiple SCMs plugin". If I configure the job with multiple Git repos it wont detect branches.

      This would be a very good feature.

        1. git parameter.jpg
          git parameter.jpg
          12 kB
        2. screenshot-4.png
          screenshot-4.png
          24 kB
        3. screenshot-3.png
          screenshot-3.png
          22 kB
        4. screenshot-2.png
          screenshot-2.png
          23 kB
        5. screenshot-1.png
          screenshot-1.png
          12 kB

          [JENKINS-26799] Multiple SCMs plugin support

          Nicolae Ghimbovschi created issue -

          Dirk Hain added a comment -

          I can confirm the same issue. This plugin would be great but I cannot use it because I need to fetch 2 git repositories.

          Dirk Hain added a comment - I can confirm the same issue. This plugin would be great but I cannot use it because I need to fetch 2 git repositories.
          Dirk Hain made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]

          Nikolas Falco added a comment -

          I confirm the same needs. We often must download more than git repositories (as the SVN plugin), because we do not use git submodules.

          Nikolas Falco added a comment - I confirm the same needs. We often must download more than git repositories (as the SVN plugin), because we do not use git submodules.

          Yes, this would be a good feature! I need to query tags from a specific repo (via Git Parameter Plugin) and tag each of them in the post-build phase.

          Rosberg Linhares added a comment - Yes, this would be a good feature! I need to query tags from a specific repo (via Git Parameter Plugin) and tag each of them in the post-build phase.

          Alex Lance added a comment -

          This would be an outstanding addition for a CI workflow.

          We're trying to build a pipeline that permits developers to deploy their feature branches before they are merged into master.

          Often there are projects that have many git repos in them. Being able to dynamically select the branch for each repo at build
          time would be extremely useful.

          Alex Lance added a comment - This would be an outstanding addition for a CI workflow. We're trying to build a pipeline that permits developers to deploy their feature branches before they are merged into master. Often there are projects that have many git repos in them. Being able to dynamically select the branch for each repo at build time would be extremely useful.
          Boguslaw Klimas made changes -
          Assignee Original: Niklaus Giger [ niklaus_giger ] New: Boguslaw Klimas [ klimas7 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160970 ] New: JNJira + In-Review [ 180519 ]

          Dakota Brown added a comment -

          klimas7,

          It looks like this would be a matter of modifying GitParameterDefinition.getProjectSCM() with another option like the RepoSCM

          The class of the multiSCM plugin is org.jenkinsci.plugins.multiplescms.MultiSCM

          and the method that returns a list of SCMs is for MultiSCM getConfiguredSCMs() which returns a list of SCMs.

          If I can find some time in the next few weeks, I'll try to help out with this

          Dakota Brown added a comment - klimas7 , It looks like this would be a matter of modifying GitParameterDefinition.getProjectSCM() with another option like the RepoSCM The class of the multiSCM plugin is org.jenkinsci.plugins.multiplescms.MultiSCM and the method that returns a list of SCMs is for MultiSCM getConfiguredSCMs() which returns a list of SCMs. If I can find some time in the next few weeks, I'll try to help out with this

          Nikolas Falco added a comment -

          Would be great

          Nikolas Falco added a comment - Would be great

            klimas7 Boguslaw Klimas
            xfreebird Nicolae Ghimbovschi
            Votes:
            7 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: