title: jenkins failed to connect to remote bit bucket repository
body: <p>I am using jenkins and trying to connect to the bit bucket remote repository for that I provide the bit bucket URL in source code management in git repositories, I create the credentials also for that bit bucket account added in the credentials</p>
  
  <p>I tried the below in git repositories</p>
  
  <pre><code>https://nagarjun123@bitbucket.org/gsmohan/quickride.git
  </code></pre>
  
  <p>But it gives the error below specified:</p>
  
  <blockquote>
    <p>ERROR:Failed to connect to repository : Failed to connect to <a href="https://nagarjun123@bitbucket.org/gsmohan/quickride.git" rel="noreferrer">https://nagarjun123@bitbucket.org/gsmohan/quickride.git</a> using credentials bitbucket account (status = 401)</p>
  </blockquote>
  
  <p>Can anyone please help to me?</p>