To have Bitrise automatically start a build every time you push code into your repository you can set up a webhook at your code hosting service which will automatically trigger a build on Bitrise with the code you push to your repository.
!!! note “If you have a Bitbucket webhook already set up for your app …” If you have a Bitbucket webhook already set up for your app, simply skip to the triggers section and edit your current one according to the screenshot there.
Get the webhook URL for Bitbucket ⚓
Navigate to the
Codetab of your app’s page and select
Bitbucketfrom the dropdown at the webhooks section.
Copy the webhook URL for the selected service.
Setup webhook on Bitbucket ⚓
Navigate to your Bitbucket repository and select
Webhooksfrom the left.
Paste the Bitbucket Webhook URL from Bitrise to the
URLand add a
Choose from a full list of triggers.
Pushand Pull Request
Updatedtriggers. After you are ready press the
Savebutton and you are ready to roll!