I'm trying to setup the build of a pipeline for a project hosted on bitbucket. We have multiple pipelines configured on Jenkins for the same repository but for different branches. I want to build a specific pipeline only when both the repository and the branch that triggered the webhook is from a branch listed in the "branches to build" configuration. Currently a build is triggered on every push on the repository despite the branch configured. Is this use case already supported and I am missing something? If not would you accept any contribution in that regard? I'm new to Jenkins (and Java) but I can hack something i guess.