Github Branch protection and two builds per commit

I am using multibranch pipeline in Jenkins with Branch Source plugin at

Source type: Github

Even if I set Discover branches strategy as Exclude branches that are also filed as PR

Github reports two checks.


and continuous-integration/jenkins/branch never run!

The solution: It was an issue with Github Branch Protection settings.

It is fixed when I removed continuous-integration/jenkins/branch from above Require status checks to pass before merging settings.


Devops Engineer

Devops Engineer