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

git plugin should allow perform clone with --single-branch parameter to speed up (requires git 1.7.10+)

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • git-plugin
    • None

      by default git clone repository with all branches that are in the repo. Since jenkins normally wipes and cleans out workspace and then clone git repo again it would be great to minimize time required for cloning particular branch by not fetching all other branches. This potentially could speed up clone time significanlty especially on large and long-living git repos without any side-effects.
      And it seems to be pretty easy to implement.

            markewaite Mark Waite
            uazure Sergey P
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: