Github Branch protection and two builds per commit
1 min readOct 5, 2020
I am using multibranch pipeline in Jenkins with Branch Source plugin at https://plugins.jenkins.io/github-branch-source/
Source type: Github
Even if I set Discover branches strategy as Exclude branches that are also filed as PR
Github reports two checks.
continuous-integration/jenkins/branchcontinuous-integration/jenkins/pr-merge
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.
Ismail YENIGUL
Devops Engineer