문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top