title: jenkins not able to connect to a repository
body: <p>I have just installed jenkins on an amazon EC2 box and i am trying to setup a job. I have installed git plugin and then i gave the url of my repo in the job's git repo field and i get the following error. </p>
  
  <pre><code>Failed to connect to repository : Command "git ls-remote -h https://apprick@bitbucket.org/apprick/apprickwebapp.git HEAD" returned status code 128:
  stdout: 
  stderr: fatal: Authentication failed
  </code></pre>
  
  <p>The repository is a private one hosted at bitbucket and i know i should give user name and password somewhere on this git plugin but i don't see where. Attached is the screenshot as well for the reference.   </p>
  
  <p><img src="https://i.stack.imgur.com/i8oUj.png" alt="enter image description here"></p>