Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins Git pull request ${sha1}

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?

like image 598
AndrewLakomski Avatar asked Apr 28 '14 10:04

AndrewLakomski


1 Answers

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

like image 80
meza Avatar answered Oct 01 '22 12:10

meza