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

git clone --progress not supported with older git binaries

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Jenkins-9168 adds the '--progress' option to git-clone. This flag was introduced to git sometime after git v1.5.5.6. The sensible workaround for people running older versions (ie, anyone using EPEL) is to update git to a newer version. There should be a minimum required version of git listed somewhere in the release notes.

        Attachments

          Activity

          Hide
          prospero238 Keith Collison added a comment -

          Due to this problem, we're no longer able to build are git projects. Is there a workaround someone can suggest?

          Show
          prospero238 Keith Collison added a comment - Due to this problem, we're no longer able to build are git projects. Is there a workaround someone can suggest?
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_git-plugin #132
          [FIXED JENKINS-9635] Check to be sure git executable is version 1.7 or greater before using --progress on git clone.

          Andrew Bayer : 3d63fedffad74b0f71746c6c47d6c69e670e09ae
          Files :

          • src/main/java/hudson/plugins/git/GitAPI.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_git-plugin #132 [FIXED JENKINS-9635] Check to be sure git executable is version 1.7 or greater before using --progress on git clone. Andrew Bayer : 3d63fedffad74b0f71746c6c47d6c69e670e09ae Files : src/main/java/hudson/plugins/git/GitAPI.java
          Hide
          evernat evernat added a comment -

          As it can be seen in the commit linked above, the Git version is checked before adding the "--progress" argument.
          So this issue seems to be fixed.

          Show
          evernat evernat added a comment - As it can be seen in the commit linked above, the Git version is checked before adding the "--progress" argument. So this issue seems to be fixed.

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              nhwg Nico Halpern
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: