title: Why is Jenkins getting Authentication Failed error for git submodule update?
body: <p>I have a Jenkins job that pulls from a BitBucket repo that was working fine, and still is.  However, I've added a submodule and Jenkins is choking on that.  Here is a clip from the Jenkins console output:</p>
  
  <blockquote>
    <p>FATAL: Command "C:\Program Files (x86)\Git\cmd\git.exe submodule update" returned status code 1:
    stdout: Cloning into 'submodules/my.repo'...</p>
    
    <p>stderr: fatal: Authentication failed</p>
  </blockquote>
  
  <p>I'm using an ssh key which I added to my deployment keys for the main repo in BitBucket. And that's always worked.  I added the same key to my submodule repo's deployment keys.  Can anyone tell me why authentication is failing?</p>