title: "Filename too long" error in Jenkins git checkout
body: <p>Git checkout in Jenkins throws the error &quot;Filename too long&quot; and fails, as follows:</p>
  <blockquote>
  <p>hudson.plugins.git.GitException: Command &quot;git.exe checkout -f 2cea7d8eb9185899c01d2ffc86872f584da2e60c&quot; returned status code 1:</p>
  <p>stdout:<br />
  stderr: error: unable to create file
  <em>some_long_named_project</em>/src/test/resources/dbunit_test_data/com/<em>some_long_named_directory</em>/data/testInstances_create_dataRequiresData.xml:
  Filename too long</p>
  </blockquote>
  <p>I've set the longpaths variable in the config file to 'true', as suggested here <a href="https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows">Filename too long in Git for Windows</a> and here <a href="https://sifaserdarozen.wordpress.com/2015/06/25/git-file-name-too-long-error/" rel="noreferrer">https://sifaserdarozen.wordpress.com/2015/06/25/git-file-name-too-long-error/</a>, but it didn't help.</p>
  <p>Is there anything else I can do?</p>