Enabling webhooks

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Webhooks allow your repositories other than Bitbucket Server to communicate with Bamboo. This page describes enabling webhooks only to Repository Stored Specs repositories. Once you setup a webhook for this repository, a repository sends the HTTP request to Bamboo with every new commit. This HTTP request, in turn, triggers a scan for changes on the **/bamboo-specs folder within a Repository and triggers the build in case Bamboo finds any changes to the Specs Plan. If Bamboo detects any changes in a repository, it automatically updates necessary plans and deployments.

Bamboo supports the use of Java and YAML Specs with the following repositories: 

  • Bitbucket Cloud 
  • Git
  • GitHub
  • Subversion

To enable webhooks in your repository: 

  1. In Bamboo, generate a URL used as a destination for your webhook:
    1. In the top navigation bar, select Specs Setup Specs Repository.
    2. Select your project type.
    3. Select the repository for Bamboo Specs. 
    4. Copy the URL that is generated for you as the destination for the webhook.
  2. In the repository you want to use for storing Bamboo Specs, use the Bamboo URL to enable the webhook:
    1. Go to your repository settings. 
    2. Find webhook-specific configuration. 
    3. Paste in the URL Bamboo provided you with.

Bamboo webhook is now enabled in your repository. 

To know how to configure build triggers for non-Repository Stored Specs commits, please check the following pages:

Last modified on Sep 6, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.