Jenkins Git pull request $ {sha1}

I have configured the Jenkins git query request plugin according to the docs: https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin , but will return me to me

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

If I leave the “Branch specifier” empty, Jenkinks goes through every PR (even closed) in my repo. How to make him build only open PR?

+7
git jenkins jenkins-plugins
source share
1 answer

I installed this and it works great. Here are my settings: enter image description here

And the ghpr plugin settings are completely empty except for these two fields

enter image description here

Hope this helps

+6
source share

All Articles