php-censor: Webhook Automatic Building Not Working
Hi, I use BitBucket and can trigger manual builds without any problems. I recently tried to set-up automatic builds using BitBucket’s Webhooks (https://confluence.atlassian.com/bitbucket/manage-webhooks-735643732.html) and this appears to only half work.
The webhook got triggered and sent a message to PHP Censor, which responded with a: { "status": "ok" }
However in PHP Censor nothing happens and no builds get triggered. I resent the request twice but still nothing happened.
- PHP Censor v0.21.0
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (10 by maintainers)
Commits related to this issue
- Added triggers: 'pullrequest:approved' and 'pullrequest:fulfilled' (Merged) for BitBucket webhook. Issue #176. — committed to php-censor/php-censor by corpsee 6 years ago
- Added triggers: 'pullrequest:approved' and 'pullrequest:fulfilled' (Merged) for BitBucket webhook. Issue #176. — committed to php-censor/php-censor by corpsee 6 years ago
- Webhook fixes for GitHub. Issue #176. — committed to php-censor/php-censor by corpsee 6 years ago
@corpsee It would be nice to create a “generic webhook” in order to trigger a build with a simple
curlcall.In my case I’m using a simple remote Mercurial repo (via ssh). So I could use the changegroup hook to trigger a curl call after each commit which triggers then the php-censor build.
e.g.
Here is an example for Jenkins: https://stackoverflow.com/a/13279113