As URLs de webhook devem alcançar o serviço de Webhooks (porta 3332). Usar o domínio da API só funciona se seu proxy reverso rotear os caminhos
/.../webhook para o serviço de webhooks.- Navegue até seu repositório no Bitbucket
- Clique em “Repository settings” na barra lateral esquerda
- Selecione “Webhooks”
- Clique em “Add webhook”
-
Configure seu webhook:
- Title: Kodus Code Review
- URL: Insira a URL onde deseja receber as notificações, a URL que você colocou em
GLOBAL_BITBUCKET_CODE_MANAGEMENT_WEBHOOKno arquivo.env - Status: Active
- SSL/TLS: Marque Enable SSL verification
- Triggers: Selecione estes eventos:
- Repository:
- Push
- Updated
- Commit comment created
- Build status created
- Build status updated
- Issue
- Created
- Updated
- Comment created
- Pull Request
- Created
- Updated
- Merged
- Declined
- Comment created
- Comment deleted
- Comment updated
- Comment resolved
- Comment reopened
- Repository:
- Clique em “Save”