I have Jenkins set up locally and I am using ngrok to create a tunnel. I know it is working because if I put the url from the session in my browser it redirects to my local Jenkins dashboard. I also get 200 messages in my Terminal window:
POST /ajaxBuildQueue 200 OK
POST /ajaxExecutors 200 OK
POST /ajaxExecutors 200 OK
POST /ajaxBuildQueue 200 OK
but when I go to my Github repo and set up the webhook I get a 302 error:
POST /github-webhook 302 Found
GET /github-webhook/ 405 Method Not Allowed
POST /github-webhook 302 Found
I am using this URL for my payload:
http://9xxxxxx9.ngrok.io/github-webhook
I was getting the no bread crumbs error but I turned off CSRF in Jenkins and that seemed to resolve that issue. Any idea how I can fix this?