This wasn't manifesting in the browser, as my browser was automatically prefixing the url with a slash, but I finally confirmed it with plain ol curl
`curl http://ci.example.com/github-webhook/`
- result: same error about payload that you see in the browser
`curl curl http://ci.example.com/github-webhook`
- result: silence. no output.
I spent like 2 hours trying to figure this out, but mostly because I didn't realize that the github service "Update settings" button needed to be pushed before "Test Hook" would work. But that's an issue for github
[JENKINS-17185] Trailing slash shouldn't be required for webhook url
Description |
Original:
This wasn't manifesting in the browser, as my browser was automatically prefixing the url with a slash, but I finally confirmed it with plain ol curl `curl http://ci.lassonde.mpdagile.com/github-webhook/` - result: same error about payload that you see in the browser `curl curl http://ci.lassonde.mpdagile.com/github-webhook` - result: silence. no output. I spent like 2 hours trying to figure this out, but mostly because I didn't realize that the github service "Update settings" button needed to be pushed before "Test Hook" would work. But that's an issue for github :) |
New:
This wasn't manifesting in the browser, as my browser was automatically prefixing the url with a slash, but I finally confirmed it with plain ol curl `curl http://ci.example.com/github-webhook/` - result: same error about payload that you see in the browser `curl curl http://ci.example.com/github-webhook` - result: silence. no output. I spent like 2 hours trying to figure this out, but mostly because I didn't realize that the github service "Update settings" button needed to be pushed before "Test Hook" would work. But that's an issue for github :) |
Component/s | New: core [ 15593 ] |
Component/s | Original: github-plugin [ 15896 ] |
Labels | New: stapler |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 148017 ] | New: JNJira + In-Review [ 192682 ] |