On Wed 2 Aug 2017 at 01:37, Ramanathan Muthaiah <[email protected]> wrote:
> > https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#_controlling_what_is_built > > Documentation mentions that "By default, Jenkins will build any branches > it finds in the “origin” repository (the actual repository found in your > organization). Also, any pull requests that have been filed from “forks” > (clones in user accounts) will also be built . . ." > > In our setup, running Jenkins v.2.60.1 with this plugin v2.2.0, the latter > usecase i.e. pull requests filed from forks is not triggering automatic > builds -- user A forks a repo, commits his/her changes to 'master' in > forked repo and then creates a pull request from the actual repo. > > I hope this is valid use case. So, does anyone know why this fails ? > If you don't have the webhooks set up correctly, then builds will only happen after a scan/index. Have you tried triggering a scan/index. If triggering a scan/index gets the PR job created and building, then you know it is a webhooks problem. The next point is that CloudBees have not updated the envelope for CJE/CJT to the 2.2.x line of plugin releases (since they were only released last month) so the docs on the site are still 2.0.x. With 2.2.x you should have behaviours to _Discover Branches_, _Discover Pull requests..._ make sure you have the behaviours you want added. (I suspect a webhook issue by the way) HTH > > /Ram > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/8043350c-1377-45cd-a04b-277cc2b9e7b0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/8043350c-1377-45cd-a04b-277cc2b9e7b0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Sent from my phone -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMwWGfsyPi3U%3DLs6EVD9kHAgZ5Zz%3Dxq4N_dxWsyP_QjxeQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
