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

Add explicit support for git lfs

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I would like to use git lfs and I would like to jenkins, and I would like for jenkins to use its same credentials already configured for git to fetch the git lfs resources. Rather than trying to change the init+fetch pattern, I would like to add a custom behavior to the git plugin that will execute `git lfs pull` after checkout using the same credentials as the fetch command.

      It seems that git lfs is the way forward for git repos with large files and I don't see a workaround right now for using git lfs with jenkins, short of sprinkling credentials everywhere so that `git lfs` can be run from the build context which doesn't seem like a good idea.

      I am looking into what it would take to add this. Would the maintainers be interested in taking in such a feature?

        Attachments

          Issue Links

            Activity

            matthauck Matt Hauck created issue -
            matthauck Matt Hauck made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-30318 [ JENKINS-30318 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 172112 ] JNJira + In-Review [ 184566 ]
            swashbuck1r Spike Washburn made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ]
            markewaite Mark Waite made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            markewaite Mark Waite made changes -
            Link This issue is duplicated by JENKINS-43158 [ JENKINS-43158 ]

              People

              • Assignee:
                markewaite Mark Waite
                Reporter:
                matthauck Matt Hauck
              • Votes:
                14 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: