title: How to use jenkins git plugin to build from a branch include origin or not
body: <p>When building from git on master jenkins fetches and uses origin/master.   When building from git on a branch jenkins fetches and users mybranch not origin/mybranch and isn't picking up changes.</p>
  
  <p>I switched the branch specifier to use <strong>origin/mybranch</strong> and it seems to work.   Is the the standard way to handle things or am I missing a more obvious way of doing this?  I don't want to add unecessary complexity.</p>
  
  <p>Please let me know if jenkins should use <strong>origin</strong>/branchname instead of branchname for its Branches-To-Build field.</p>
  
  <p>Thanks</p>
  
  <p>Peter</p>