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

git clone --progress not supported with older git binaries

    XMLWordPrintable

Details

    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

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

          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?
          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
          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
          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.

          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

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

            Dates

              Created:
              Updated:
              Resolved: