Issue with GitHub Pull Request Builder plugin

I am trying to use GitHub Pull Request Builder plugin to trigger builds when a PR is raised against my GitHub repo. I am trying to set value of refspec as +refs/heads/ :refs/remotes/origin/ +refs/pull/ :refs/remotes/origin/pr/ to enable build for PR as well as branches. But when I try to do that it shows me “Specification is invalid”. Any help to set up the correct pattern would be highly appreciated. Should I define the two patterns separately on the same repo?

1 Like