Add support for Bitbucket's Mercurial based repos

This commit is contained in:
bochkovprivate 2017-03-19 11:17:10 +07:00 committed by Dmitry Khomutov
commit 7084b49da7
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
9 changed files with 126 additions and 22 deletions

View file

@ -80,7 +80,7 @@ class WebhookController extends Controller
*/
public function bitbucket($projectId)
{
$project = $this->fetchProject($projectId, ['bitbucket', 'remote']);
$project = $this->fetchProject($projectId, ['bitbucket', 'bitbuckethg', 'remote']);
// Support both old services and new webhooks
if ($payload = $this->getParam('payload')) {