-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webhook received, build happens with cron but not when "Use github hooks for build triggering" is checked #260
Comments
Same issue here: Starting the ghprb trigger for the XXX job; newInstance is true |
Webhooks have been a bit in churn lately, what version of the plugin are you using? |
I'm using version 1.30. I unchecked and re-checked lots of boxes and it magically started working. |
I tried unchecking and rechecking boxes, just now, and it did not work for me. Instead, I just created a new project and the new project works. I don't see any difference between the projects. |
Also, awesome plugin! |
Same with version 1.30 |
Make sure to update to 1.30.1, there is a major bug in 1.30. In the meantime I will see if I can debug it. Can you send me a copy of your config.xml? |
Merging down from jenkinsci
I'm having the same issue. I updated and it worked fine on my test repo so I switched to the production repo. I get the exact same log where it says it is ignoring the trigger because webhooks are set up. Using version 1.33.1. I can send you my config.xml if you can tell me where to find it! |
I found the config.xml for the jobs that work/don't work. It is the exact same between them. I'm guessing the difference is that I created one before updating the ghprb plugin and one after. I don't if I can figured out what version was installed previously. Here it is: |
Ok, I take back what I said about it being different on a job created before I upgraded vs after. If I change the github repo to https://github.com/reportingsjr/kicad-library it works on either job. If I change it to https://github.com/kicad/kicad-library it says the "skipping triggers" bit. I tried looking through the code and I'm lost as to why that on its own would cause a difference. |
Are you sure the job you are creating has permissions to the new repo? |
I'm using the same token and the webhooks for both have the exact same permissions. |
Have you checked the logs in github to see that the webhook is sent for that repo? |
Indeed I have. Github sends effectively the same json to the jenkins server and jenkins sends back the same response to each (200 OK). |
Same here with version 1.39.0. Everything works fine on personal repo. But for org repo the log stops at |
I am closing this for now. @wangqr if this still happens for you please create a new issue with updated logs. Thank you! |
Merging down from jenkinsci
I've got a job that works when "Use github hooks for build triggering" is NOT checked, but I'd like it to build in real-time, not periodically.
When I check "Use github hooks for build triggering", here's the org.jenkinsci.plugins.ghprb log at resolution FINEST:
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: