We are using Github for source control and Jenkins for our builds.
In Jenkins, we are using GitHub Organization Folder plugin along with Multibranch pipeline plugin. This causes the repository to show up in Jenkins, and each repository has a Jenkinsfile in it. And each PR(in github) has a status check, which checks if the build of the PR is good or not.
Everything works fine, except for the fact that once a PR is opened or updated, the PR is not built in Jenkins automatically. You have to manually go to Jenkins and trigger the PR build.
As far as master branch is concerned, it works like a charm. If the master branch is updated, Jenkins automatically triggers the build.
I have attached the screen shot of the branch configuration in Jenkins for the GitHub Organization. So my question is what should be done for PR opening or updating, that would cause Jenkins to start build automatically.