title: Jenkins: allow local checkout
body: <p>It's the first time I'm using Jenkins. I created a new folder with just one file and created a git repository in it. Then I set up Jenkins with that repository.</p>
  <p>What I get now is this error:</p>
  <blockquote>
  <p>ERROR: Checkout of Git remote 'path\hello' aborted because it
  references a local directory, which may be insecure. You can allow
  local checkouts anyway by setting the system property
  'hudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT' to true. Finished:
  FAILURE</p>
  </blockquote>
  <p>I tried to start jenkins using this command:</p>
  <pre><code>C:\Users\userName\.jdks\zulu11.56.19-ca-jdk11.0.15-win_x64\bin\java.exe -jar jenkins.war  hudson.plugins.git.GitSCM.ALLOW_LOCAL_CHECKOUT=true
  </code></pre>
  <p>But it didn't work.
  How can I set this &quot;allow local checkout&quot; to true?</p>