-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.347
Git plugin 4.11.2
I have a multibranch pipeline project that uses LFS.
LFS pull is enabled in the project configuration, and LFS objects are fetched from the server, however "git lfs install" is never called in the workspace, so LFS pointers are never replaced by the actual files.
Searching for this problem suggests that this is a known problem that people know to work around with a pre SCM step, but in a declarative multibranch pipeline, there is no way to configure this.
I can work around the issue myself with additional build steps
sh 'git lfs install' sh 'git lfs checkout
but obviously that is not a proper solution.