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

Git client plugin automated tests fail with MinGit on Windows

XMLWordPrintable

      The Git for Windows distribution includes "MinGit", a minimal git for Windows. MinGit 2.26.0 and prior do not include large file support. The absence of large file support causes the git client plugin unit tests to fail on Windows machines that use MinGit.

      Git client plugin automated tests should pass successfully on MinGit by ignoring tests that require Large File Support if it is not installed.

      Download and install MinGit, configure it as the only git in your Windows path, and then run the git client plugin automated tests with the command:

      C:\Users\MarkE\git\jenkins\git-client-plugin > mvn clean -Dtest=GitClientTest test
      

      It will fail several tests and report that the command git lfs was not found. Those tests already use Assume to skip the tests if git LFS is not installed. The assumption should be extended to cover the MinGit case as well.

            markewaite Mark Waite
            markewaite Mark Waite
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: