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

Provide option for cloning all branches with Mercurial SCM

    XMLWordPrintable

Details

    Description

      We're using the Mercurial SCM plugin to clone a repository so that it can be archived and made available to other jobs via the Copy Artifact plugin. We can't use the plugin directly from these subsequent jobs because they actually use two separate repositories, so we have two jobs that provide such artifacts.

      The problem is that we need to clone all branches, and when leaving the branch empty the 'default' branch is cloned/pulled. It would be great if there was an option grab all branches. At the moment we are using a workaround of the 'hg pull' command as one of our build steps.

      Attachments

        Activity

          davehunt Dave Hunt created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Labels mercurial plugin mercurial
          jglick Jesse Glick made changes -
          Assignee Kohsuke Kawaguchi [ kohsuke ] Jesse Glick [ jglick ]
          jglick Jesse Glick made changes -
          Resolution Won't Fix [ 2 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 144241 ] JNJira + In-Review [ 190983 ]

          People

            jglick Jesse Glick
            davehunt Dave Hunt
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: