Jenkins Multibranch pipeline not triggering PR builds from Github -
i'm using jenkins 2.60.2. i've set multibranch pipeline build. set github side configuring jenkins service via integrations & services via github plugin (not webhook option in github).
i'm able see branches want , prs sitting out there. things seem working.
my issue when add commit 1 of pull requests, see event come through in repository events, pull request never rebuilds in jenkins. if click scan repository now, detects change , starts new build of pr. expect detect change on commit , rebuild pr.
the other odd thing have set not build branches prs, when make new pr new branch, builds branch (on branches tab) not on pr tab. again, running repository scan, removes build branches tab, , adds pr tab. expect pr new branch create build on pr tab, not branches.
i'm @ bit of loss here. can see when push change github, event getting sent jenkins, isn't behaving in way expect.i'm using jenkinsfile in repository if makes difference.
so now, able carry on.
on github, in settings -> integrations & services, removed jenkins service. went settings -> webhooks, , created new webhook same url used in service , picked events send. sending push events , pull request events , things working expected.
after looking @ repository events, looks using jenkins service (github plugin) on github side not sending on pull request events. i'm trying track down post issue, i'm unsure.
hopefully helps else out.
Comments
Post a Comment