Github plugin triggering to push event only for changes in specific branches I am using Jenkins2 and GitHub plugin for triggering Push events.

I have the next service (Jenkins Github): http://myjenkinsmaster/github-webhook/

I also have 3 branches: dev, stage, master which need to be built.

But I require only the branch with changes to be built. 

For example if changes were pushed to dev, only dev branch will be built, and others ignored. 

However, Jenkins builds all 3 branches which I specified in branch field in job config. 

How can I achieve a Jenkins build that builds only the branch where changes were pushed?
Finally I have resolved it with the help of "strategy of choosing what to build" with "Default behavior" for each branch.