8
votes

I've configured Jenkins git pull request plugin according to docs: https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin but build returns to me

ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

If I leave "Branch Specifier" empty, Jenkinks goes through every PR (even closed) in my repo. How to force it to build only open PR?

1
@Suirtimed, make sure your GitLab plugin and Jenkins versions are up-to-dateStéphane Bruckert
I'm not using the GitLab plugin and my Jenkins version is 1.596Suirtimed

1 Answers

7
votes

I've set this up and is working perfectly. Here are my settings: enter image description here

And the ghpr plugin settings is completely empty apart from these 2 fields

enter image description here

Hope this helps