Triggering Code Manager with a webhook

To deploy your code, you can trigger Code Manager by hitting a web endpoint, either through a webhook or a custom script. Webhooks are the simplest way to trigger Code Manager.

Code Manager supports webhooks for GitHub, Bitbucket Server (formerly Stash), Bitbucket, and Team Foundation Server. The webhook must only be used by the control repository. It can't be used by any other repository (for example, other internal component module repositories).

Code Manager webhooks are not compatible with Continuous Delivery. If your organization uses Continuous Delivery, you must use a method other than webhooks to deploy environments.
Triggering Code Manager with custom scripts is a good alternative to webhooks if you have requirements such as existing continuous integration systems (including Continuous Delivery), privately hosted Git repos, or custom notifications.