Most source code hosting service provides a feature to register webhooks. A webhook is basically an URL which will be called on specified events.
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.
Setting up webhooks automatically⚓
If you select
Bitbucket as the source code provider when you add your app Bitrise automatically sets up a webhook for it with a click of a button at the end of your app setup journey. In this case, you can skip this tutorial.
Setting up webhooks by hand⚓
You can manually setup or change your webhooks after you registered your application.
We support multiple webhook providers. You can find the supported providers in your application's
Custom webhook support
Our webhook processor is Open Sourced. If you are looking for a not supported solution, you can create an issue on the GitHub page or create a pull request with the implementation.
You can also run your own webhook provider behind your own firewall if required.
You can find detailed description about the setup on the Code tab or select a provider to check its devcenter article:
- Adding a GitHub webhook
- Adding a Bitbucket webhook
- Adding webhooks for Gitlab
- Adding webhooks for Visual Studio Online / Visual Studio Team Services
- Adding webhooks for Slack
- Adding webhooks for Gogs
See the Webhook Troubleshooting guide for webhook related troubleshooting / debugging notes.