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

Default MultiBranch Git LFS pull no longer works

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • Jenkins 2.487 JDK 21 on Ubuntu Linux 24.04.2

      I have multiple MultiBranch Pipelines making use of Jenkinsfiles.

      When upgrading from Jenkins version 2.486 to 2.487 and all newer versions, the default git checkout no longer does a git lfs pull, even though it shows it in the build console output.

      It also does not work by explicitly adding an extra Branch Source Behaviour of type "Git LFS pull after checkout"

       

      I have verified that git lfs is installed on the system.

      When I go to the workspace and check the lfs files, they are just the pointers to the repo.

      If I run git lfs pull manually in the workspace directory, it works and files get updated with remote LFS data.

      I have tried multiple versions of Jenkins, including the latest, with the same issue. 

      When I roll back to 2.486, it works again.

       

      I have done a diff between 2.486 and 2.487 https://github.com/jenkinsci/jenkins/compare/jenkins-2.486...jenkins-2.487

      The only change that I can see is related to the JSON lib.

       

      My versions of git tools are:

      git version 2.43.0

      git-lfs/3.4.1 (GitHub; linux amd64; go 1.22.2)

       

      Your help will be greatly appreciated.

            Unassigned Unassigned
            rzrcdr Dirkco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: