title: Jenkins Git Publisher: How to commit code back to master after build?
body: <p>I'm having some difficulty with Jenkins Git Publisher committing and pushing code back to master after my build. My build process increases a version number in one of my files and then I want to commit this file back into the repo, but I can't seem to get it to work.</p>
  
  <p>In Source Code Management->Git, these are my settings:</p>
  
  <ul>
  <li>Repository Name: Android</li>
  <li>Branch Specifier: master</li>
  <li>Checkout/merge to local branch: master</li>
  </ul>
  
  <p>Then, in Git Publisher, these are my settings:</p>
  
  <ul>
  <li>Push Only If Build Succeeds: checked</li>
  <li>Merge Results: checked</li>
  <li>Branch to push: master</li>
  <li>Target remote name: Android</li>
  <li>Notes: Note to push: Updating version</li>
  <li>Notes: Target remote name: Android</li>
  <li>Notes: Note's namespace: master</li>
  </ul>
  
  <p>This is the output from Jenkins:</p>
  
  <pre><code>Pushing HEAD to branch master at repo Android
  Adding note to namespace "master":
  Updating version
  </code></pre>
  
  <p>Please help!</p>