You need the GitHub Branch Source plugin https://plugins.jenkins.io/github-branch-source for the best experience. It may not be supported on that old a version of Jenkins.
You may also need a newer version of the git plugin, since there have been many Pipeline and Multi-branch related improvements to the git plugin since version 3.0.1. Mark Waite On Fri, Feb 16, 2018 at 12:54 PM <[email protected]> wrote: > I have a Multibranch Pipeline job that builds branches of the main > repository, however I'm unclear what configuration changes I need to make > in order to build and comment on GitHub Pull Requests. > > I have the GitHub hooks configured (push, pull request and comment), > however the job does not fire for pull request open, nor does a scan "find" > the pr and build them. > > Is there something I am missing in order to have a single job build it all? > What is the prescribed approach to building GitHub pull requests (requires > a pipeline build i.e. Jenkinsfile)? > > Jenkins: 2.32.3 > Plugins: > - Git:3.01 > - GitHub:1.25.0 > - GItHub API:1.80 > - GitHub Integration Plugin:0.1.0-rc29 > > - Pipeline:2.5 > - Pipeline Multibranch:2.12 > > - SCM API:2.07 > > -- > 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/38807e84-293c-4472-a42a-0a4f77189b68%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/38807e84-293c-4472-a42a-0a4f77189b68%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFCWrycqr1JKpZyd_oRWmpRO_4Khjn3Wv50OK56qDMUhg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
