Hi, We use the Generic Webhook trigger plugin <https://plugins.jenkins.io/generic-webhook-trigger/> to trigger jobs on any kind of event from GitHub, it allows you to convert the payload of the message in variables and implements ways to filter the payload. We use to implement only one or two events per pipeline because the configuration tent to increase complexity with each new event to catch and filter, so we have a job to catch and filter the event and this one trigger the real job, in that way we can capture several events to trigger the same job and both part the event catcher and the pipeline are as simpers as posible.
El lunes, 14 de febrero de 2022 a las 13:29:56 UTC+1, adharsh...@gmail.com escribió: > Thanks for the reply, is this plugin triggers the job when reviewers added > in pull request in github. > > On Mon, 14 Feb 2022, 5:00 pm Baptiste Mathus, <bma...@batmat.net> wrote: > >> Hi, >> >> You want to use the GitHub branch source plugin. >> >> I don't think anyone should really use the "GitHub pull request builder >> plugin" anymore nowadays in 2022. >> >> Cheers >> >> Le lun. 14 févr. 2022 à 10:52, Adharsha sri <adharsh...@gmail.com> a >> écrit : >> >>> Hi Team, >>> >>> I am trying to trigger the jenkins job which will send slack >>> notification to developers when there is a pull request in github. >>> >>> I am using github pull request builder plugin in jenkins to achieve this >>> and created a webhook in github and selected pull requests(pull request >>> opened, closed, reopened, edited, assigned,review requested, review >>> request removed, labeled, unlabeled, synchronized, ready fir review, >>> convertted to draft, locked or unlocked) in events. >>> >>> I am able to trigger the jenkins job for only pullrequest open and >>> reopened actions but not for remaining actions. >>> >>> And also tried with poll scm, github hook trigger for gitscm polling and >>> generic webhook trigger but not succeeded in achieving this. >>> >>> Can anyone please help with this? >>> >>> Thanks, >>> Adharsha. >>> >>> -- >>> 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-use...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/CAJWGB6p6teEKQrm0SERJwMK1QZESjuvPNHGhtpN8rKCew%3DSvgA%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-users/CAJWGB6p6teEKQrm0SERJwMK1QZESjuvPNHGhtpN8rKCew%3DSvgA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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-use...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7eqzOJDvXNxwBRGZcseUf%3D%2Bqp5GFY6gH%2BS4e8aCf0A1A%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7eqzOJDvXNxwBRGZcseUf%3D%2Bqp5GFY6gH%2BS4e8aCf0A1A%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/c7b7c6a4-6be0-4207-9534-4b856fed5577n%40googlegroups.com.