This webhook will notify Jenkins about all new commits, details about the branch, commits which are made, etc. To use a different Jenkinsfile for different branches of your Bitbucket Server project, you have to create a Multibranch Pipeline and add the Jenkinsfile to the repo of each department you want…