A better solution might be:
By adding a new row parameter to an existing job 
Then, in the Source Code Management section, update Branches to build to use the string parameter defined 
This will allow the jenkins task to use the default branch as master , and for manual collections it will ask you to enter branch information (FYI: by default it is set to master ) 
Ranjith's Nov 03 '16 at 15:27 2016-11-03 15:27
source share