-
Improvement
-
Resolution: Duplicate
-
Minor
When enabling "Git LFS pull after checkout" and pipeline file, there is no oportunity to install git LFS before checking out the repository. (https://plugins.jenkins.io/git/#plugin-content-git-lfs-pull-after-checkout)
That causes the error "hudson.plugins.git.GitException: Command "git lfs pull origin" returned status code 1: stdout: stderr: git: 'lfs' is not a git command."
Maybe an additional behaviour like "Pre SCM BuildStep" would be enough to achieve this where the user can enter the command "git lfs install".
- is related to
-
JENKINS-68555 LFS not initialized prior to checkout, at least in multibranch pipeline
-
- Open
-
Closing as a duplicate of JENKINS-68555.
Other alternatives include: