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

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-plugin
    • None
    • 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.

       

          [JENKINS-69760] "git lfs install" fails on Windows agents with git plugin v4.12.1

          Rayan Moarkech created issue -
          Rayan Moarkech made changes -
          Description Original: 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 "\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.

           
          New: 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.

           
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ]
          Mark Waite made changes -
          Summary Original: "git lfs install" broken with plugin v4.12.1 New: "git lfs install" fails on Windows agents with git plugin v4.12.1
          Rayan Moarkech made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Mark Waite made changes -
          Resolution Original: Not A Defect [ 7 ]
          Status Original: Fixed but Unreleased [ 10203 ] New: Reopened [ 4 ]
          Mark Waite made changes -
          Status Original: Reopened [ 4 ] New: Open [ 1 ]

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

              Created:
              Updated: