I am trying to use
<branches>
<hudson.plugins.git.BranchSpec>
<name>refs/heads/master</name>
</hudson.plugins.git.BranchSpec>
</branches>
in my config.xml
Which means I am intending to build only commits of master, but apparently jenkins seems to build from commits to any other branches too. I am not sure what I am doing wrong to accomplish this. Any help is appreciated.
PS: Using the jenkins Git plugin