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

Git plugin breaks usage of Git LFS due to lack of Git Clone use




      I'm currently involved in setting up a Jenkins-based build for our project and I've found that the popular Git plugin for Jenkins takes the slightly weird approach of git init+fetch instead of git clone when setting up the repo on agent machines.

      This appears to break Git LFS as all the binary files are still only the reference pointer files.

      The plugin does not currently appear to have any advanced options to force git cloning and there are a number of aged active tickets for the plugin to support it.

      I have raised an issue ticket over at Git LFS to discuss options with regards to this problem, which can be viewed here. It is not an issue for them to resolve, however they may be helpful in providing advice on how to best solve the problem for the plugin that provides minimal impact.


        Issue Links


            strich Scott Richmond created issue -
            strich Scott Richmond made changes -
            Field Original Value New Value
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            ndeloof Nicolas De Loof made changes -
            Assignee Nicolas De Loof [ ndeloof ]
            matthauck Matt Hauck made changes -
            Link This issue is related to JENKINS-35687 [ JENKINS-35687 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 165413 ] JNJira + In-Review [ 181964 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-43158 [ JENKINS-43158 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]


              markewaite Mark Waite
              strich Scott Richmond
              20 Vote for this issue
              33 Start watching this issue