Using Jenkins v2.401.2
Am using Github jenkins plugin (comes with Jenkins) to manually configure a webhook and have it run on every action thus triggering my Jenkins job.
Getting: POST /github-webhook/ 200 OK
when an action is triggered on Github, however the Jenkins pipeline doesn't trigger.
On Jenkins side:
- created a pipeline project
- ticked the
GitHub hook trigger for GITScm polling
- ticked the
Github project
and specified the URL to my project - created a token for my user and using it as a secret on Github (it's not needed)
Still don't see the Jenkins pipeline being triggered. Am setting the webhook via Manual Mode
EDIT
This triggers for freestyle project when selecting the appropriate checkboxes but does not work for pipeline project.