Jenkins Build off specific branches (jenkins git plugin) -


i trying use

<branches>     <hudson.plugins.git.branchspec>         <name>refs/heads/master</name>     </hudson.plugins.git.branchspec> </branches> 

in config.xml

which means intending build commits of master, apparently jenkins seems build commits other branches too. not sure doing wrong accomplish this. appreciated.

ps: using jenkins git plugin

you need branch name without refs

<branches>     <hudson.plugins.git.branchspec>         <name>origin/master</name>     </hudson.plugins.git.branchspec> </branches> 

or local branch:

<branches>     <hudson.plugins.git.branchspec>         <name>master</name>     </hudson.plugins.git.branchspec> </branches> 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -