Chapter 1. Configuring Bitbucket webhooks to enable automated pipeline triggers


When you use Bitbucket as your repository host, you must set up webhooks in Bitbucket cloud to automatically trigger pipeline runs in RHDH upon code updates. This integration ensures that your pipeline is always in sync with your code changes.

Prerequisites

  • You must have integrated Bitbucket during the RHTAP install process.
  • You have a source repository. To locate your application’s source code:

    1. On the RHDH platform, navigate to the Catalog, select an appropriate application where Bitbucket is configured as the repository host.
    2. Go to the Overview tab and select View Source to open the repository where your application’s source code is housed.
  • You must have a Webhook URL. You can find these credentials in your ~/install_values.txt file.

Procedure

  1. Navigate to your Bitbucket source repository.
  2. Go to Repository settings > Webhooks, and select Add webhook.
  3. In the Title field, enter an appropriate title.
  4. In the URL field, enter the webhook URL.
  5. . In the Trigger section:

    1. Select Push.
    2. Select Merged.
  6. Select Save.

Verification

  1. Make a code change in your Bitbucket repository and push the changes.
  2. Navigate to the CI tab in RHDH.
  3. Verify that a pipeline run is triggered after your code update.





Revised on 2024-12-13 16:47:37 UTC

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat