CDD recently introduced a feature called file sources. To make this feature work, you'll need to know how to set up webhooks / hooks in your source control system. In this post, I've included a couple of handy links to get you up-and-running.
File sources are connections to the source control systems where release-as-code files reside, such as GitHub or Bitbucket. You configure file sources to enable changes to release-as-code files in your repository to automatically create and run releases.
After you've finished configuring your file source and save, you see a COPY WEBHOOK popup which contains an auto-generated webhook. You need to copy this webhook into your source control system to support the connection to and from CDD.
If you want to set up a webhook in GitHub, check out this simple and clear KBA (from hockeyapp):
For Bitbucket On-Premise
Use Bitbucket Hooks and not BitBucket Webhooks.
Follow these steps:
- Install Hooks from the marketplace - https://marketplace.atlassian.com/apps/1211539/web-post-hooks-for-bitbucket-server?hosting=server&tab=overview
- In Bitbucket, go to the required repository, and select 'Hooks' from the side menu.
- Enable the hooks.
Now you can edit the hooks and paste a URL (the URL you got in CDD when creating the File Source).
For Bitbucket SaaS
If you want to set up a webhook in Bitbucket, check out the relevant Atlassian documentation: