title: Jenkins does not find my git repository in Visual Studio Online
body: <p>I have a Visual Studio Online project working with Git. Everything works fine from inside Visual Studio. I'm trying then to configure a Jenkins job that gets the code from this project, but without success. Although the URL and the credentials are correct, Jenkins gives me this error on the job configuration page:</p>
  
  <blockquote>
    <p>Failed to connect to repository : Command "git.exe -c core.askpass=true ls-remote -h <a href="https://[username]:[pwd]@[domain].visualstudio.com/defaultcollection/_git/[project]" rel="nofollow">https://[username]:[pwd]@[domain].visualstudio.com/defaultcollection/_git/[project]</a> HEAD" returned status code 128:
    stdout: 
    stderr: fatal: repository '<a href="https://[username]:[pwd]@[domain].visualstudio.com/defaultcollection/_git/[project]/" rel="nofollow">https://[username]:[pwd]@[domain].visualstudio.com/defaultcollection/_git/[project]/</a>' not found</p>
  </blockquote>
  
  <p>If I save and try to build, the build fails with the following error:</p>
  
  <pre><code>unable to access 'HTTP://https:///[username]:[pwd]@[domain].visualstudio.com/defaultcollection/_git/[project]/': Could not resolve host: https
  </code></pre>
  
  <p>Does anyone have any idea on what can I do?</p>
  
  <p>Thanks</p>