[JIRA] (JENKINS-59516) There is no way to pull LFS files for submodules in GIT

9 views
Skip to first unread message

lucasvw.amp@gmail.com (JIRA)

unread,
Sep 24, 2019, 2:25:04 PM9/24/19
to jenkinsc...@googlegroups.com
Lucas Vander Wal updated an issue
 
Jenkins / Bug JENKINS-59516
There is no way to pull LFS files for submodules in GIT
Change By: Lucas Vander Wal
Labels: git git-lfs git-submodule
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

lucasvw.amp@gmail.com (JIRA)

unread,
Sep 24, 2019, 2:25:04 PM9/24/19
to jenkinsc...@googlegroups.com
Lucas Vander Wal created an issue
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-09-24 18:24
Labels: git git-lfs
Priority: Major Major
Reporter: Lucas Vander Wal

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.

lucasvw.amp@gmail.com (JIRA)

unread,
Sep 24, 2019, 2:26:03 PM9/24/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Sep 24, 2019, 3:05:05 PM9/24/19
to jenkinsc...@googlegroups.com
Mark Waite assigned an issue to Unassigned
 
Change By: Mark Waite
Assignee: Mark Waite

mark.earl.waite@gmail.com (JIRA)

unread,
Sep 24, 2019, 3:06:01 PM9/24/19
to jenkinsc...@googlegroups.com
Mark Waite updated an issue
 
Jenkins / Improvement JENKINS-59516
Change By: Mark Waite
Issue Type: Bug Improvement

rene.scheibe@gmail.com (JIRA)

unread,
Nov 19, 2019, 6:23:03 PM11/19/19
to jenkinsc...@googlegroups.com
René Scheibe commented on Improvement JENKINS-59516
 
Re: There is no way to pull LFS files for submodules in GIT

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

Reply all
Reply to author
Forward
0 new messages