"git lfs install" fails on Windows agents with git plugin v4.12.1

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: git-plugin
    • None
    • Environment:
      Jenkins: v2.361.1
      Git Plugin: v4.12.1

      The v4.12.1 git plugin breaks when doing "git lfs install" during a Jenkins job. The attached image shows the error. It also breaks the command on the machine in the repo directory. It works when I delete the repo folder on the machine and rerun the job, but when I re-run it again it will always break.

      Error has a weird path "\NUL:\pre-push" and saying that the path is incorrect. Not sure why it cannot go to .git\pre-push.

      The issue was never there. I can confirm that having the git plugin on v4.11.5 works really fine.

       

            Assignee:
            Unassigned
            Reporter:
            Rayan Moarkech
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: