On Wed 29 Nov 2017 at 13:27, Ramanathan Muthaiah <[email protected]>
wrote:

> So I need to trigger this Multibranch pipeline whenever there is a Pull
>> Request raised on GitHub. I want this pipeline to trigger automatically
>> when there is a PR on GitHub.
>> What do I need to do to achieve this approach?
>> Is it possible to trigger Multibranch pipeline automatically whenever a
>> PR is raised on GitHub?
>>
>
> Yes, configure webhook in GH repository to send event related to Pull
> Request, if that's sufficient for your requirement. Select all the events
> (don't remember the exact name) if you have need for all the events to be
> passed to jenkins master.
>
> NOTE:
> Jenkinsfile may or may not need the property (related to github push) to
> be set. There were few threads in this group on this setting.
>

If multibranch *do _not_ set* as multibranch is opinionated and will
respond to the events itself... setting the property may result in double
builds or other strange behaviour

>
> /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/b99e6c4e-da0b-4582-a1b3-7534d6f84f93%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/b99e6c4e-da0b-4582-a1b3-7534d6f84f93%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%2BnPnMx8%2B1vFEp5gSbH2uovq%2B%3DKbmfsn9gVPcAN_HcsS79psdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to