I'm still having trouble with this (not since Oct, obviously, I took a break).
When I push a new (feature) branch, it immediately starts building: because I have "Build origin branches" ticked (I assume I need that to get master to build?). That build fails, because it's expecting the branch name to be "PR-*", but I can deal with that in the Jenkinsfile. However, when I do open the PR it still doesn't create the build, I had to re-scan the repo (closing & re-opening the PR had no effect). Even once the PR build was set up correctly, it didn't seem to be triggered by a force push, something I do pretty regularly on a feature branch (clean history, and all that). Again, a re-scan woke it up. All this works seamlessly (mostly) with the old GHPRB plugin. Am I "doing it wrong" (I don't think my use case is particularly unusual), or is this pipeline stuff just not ready for real use yet? I'm using LTS, and the latest versions of all the plugins. Thanks, Graham On Wednesday, October 26, 2016 at 1:00:56 PM UTC+1, Graham Hay wrote: > > The answer was to tick this box: > [image: Inline images 1] > under Project Sources -> Repository Sources -> GitHub Org -> Advanced in > the folder configuration. I then got PR builds, with a branch named as > "PR-${prNumber}". > > I think the fork PR version was ticked by default, but that's not our > workflow. > > On 29 September 2016 at 15:44, Graham Hay <grahamr...@gmail.com> wrote: > >> Is there any way to get the id of a pull request, in the brave new >> pipeline world? It was exposed as $ghprbPullId when using the GHPRB >> <https://github.com/janinko/ghprb> plugin. >> >> I'm using a GH Org Folder & Multibranch, with a Jenkinsfile. >> >> Also, what do I have to do to get something to appear in the pull >> requests folder (see attached)? There are open PRs. >> >> Thanks, >> >> Graham >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-users/fnphR6M-420/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> jenkinsci-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/f8e8c340-3171-458b-af5b-bdf59dc7157e%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/f8e8c340-3171-458b-af5b-bdf59dc7157e%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a087373d-e1a5-43c7-9dad-6c0ca00e32d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.