title: Teamcity git push error - could not read username while using maven release perform
body: <p>I'm new to Teamcity, I've configured the release build for one of the maven projects on <strong>teamcity (8.1.5)</strong> with vcs root set to <strong>GIT</strong>.</p>
  
  <p>for VCS root I've configured git repo url and using password authentication during checkout. It checks out Git repo successfully but it fails to execute mvn release:prepare on it and throws error</p>
  
  <pre><code>The git-push command failed.
  fatal: could not read Username for 'https://github.com': No such device or address
  </code></pre>
  
  <p>I know this error means no appropriate credentials helper configured on teamcity but why teamcity does not pick up the username/pwd configured in auth section by default. </p>
  
  <p>Even I tried passing credentials using mvn arguments and pom has following scm settings</p>
  
  <pre><code>&lt;scm&gt;
      &lt;connection&gt;scm:git:https://github.com/abc/sp.git&lt;/connection&gt;
      &lt;developerConnection&gt;scm:git:https://github.com/abc/sp.git&lt;/developerConnection&gt;
      &lt;url&gt;scm:git:https://github.com/abc/sp.git&lt;/url&gt; &lt;/scm&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/C9Hww.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C9Hww.png" alt="vcs root auth setting"></a>
  <a href="https://i.stack.imgur.com/pDj5p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pDj5p.png" alt="maven configuration"></a></p>
  
  <p>how should I make it work for git push ?  I could not find this in TC documents.</p>