title: Jenkins and different Bitbucket's branches
body: <p>I have a bitbucket repo online with a few branches inside. I need to run different jobs on Jenkins by commit. In other words, if I've made a commit in branch A, run a task A will run, but if I've made the commit in branch B, task B will run.</p>
  
  <p>But as far as I know the Bitbucket webhooks can't work by branches, only the repo. How do I solve this?</p>
  
  <p>Thank you.</p>