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

There is no way to pull LFS files for submodules in GIT

    Details

    • Similar Issues:

      Description

      As far as I can tell, there is no way to checkout LFS files for git submodules using the Source Code Management tab of the configure screen. This means that I am currently unable to build projects with jenkins that are dependent on a git project with submodules that have LFS files.

        Attachments

          Issue Links

            Activity

            Show
            lucasvw Lucas Vander Wal added a comment - See  https://stackoverflow.com/q/58085269/6322589
            Hide
            renescheibe René Scheibe added a comment -

            I think currently the only option to handle this is outside of the job configuration.

            Many git LFS installers automatically set up a global or system wide "lfs" filter as follows:

            [filter "lfs"]
                clean = git-lfs clean -- %f
                smudge = git-lfs smudge -- %f
                process = git-lfs filter-process
                required = true 

            A configuration like this on a Jenkins agent would fetch all LFS files (even without the "Git LFS pull after checkout" behaviour configured on a Jenkins job).

            Show
            renescheibe René Scheibe added a comment - I think currently the only option to handle this is outside of the job configuration. Many git LFS installers automatically set up a global or system wide "lfs" filter as follows: [filter "lfs" ] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true A configuration like this on a Jenkins agent would fetch all LFS files (even without the "Git LFS pull after checkout" behaviour configured on a Jenkins job).

              People

              • Assignee:
                Unassigned
                Reporter:
                lucasvw Lucas Vander Wal
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: