title: Unable to set up Git pull in Jenkins
body: <p>We currently have Subversion builds in Jenkins, and are trying to add Git builds as well, using Windows filesystem access.</p>
  
  <p>So far:</p>
  
  <ul>
  <li>Jenkins GIT Plugin is installed.</li>
  <li>Jenkins and the repositories are on the same machine, so we don't need ssh setup.</li>
  <li>Started a new Jenkins Project, and clicked on Git under Source Code Management.</li>
  </ul>
  
  <p>We're hitting a snag on the Repsitory URL:</p>
  
  <pre><code>Repository URL: file:////my_server/Repositories/My_Repo
  Failed to connect to repository : Error performing command: git ls-remote -h file:////my_server/Repositories/My_Repo HEAD
  </code></pre>
  
  <p>To troubleshoot, I created a separate project which just runs Windows commands, and confirmed that:</p>
  
  <ol>
  <li>Jenkins has permission to see the repository</li>
  <li>The Jenkins path can find git.exe</li>
  <li>I can get output from Jenkins running <code>git ls-remote file:////my_server/Repositories/My_Repo</code></li>
  <li>Which means my URI format is correct</li>
  </ol>
  
  <p>Does anyone know how to fix the error with the Jenkins Git plugin not being able to connect to the repository, when Jenkins itself can?</p>
  
  <p>Thank you.</p>