Chapter 2. Configuring Bitbucket webhooks to enable automated pipeline triggers
Set up webhooks in Bitbucket to automatically trigger pipeline runs in RHDH upon code updates.
Prerequisites
- You must have integrated Bitbucket during the RHADS - SSC install process.
You have a source repository. To locate your application’s source code:
- On the RHDH platform, navigate to the Catalog, select an appropriate application where Bitbucket is configured as the repository host.
- 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
private.envfile.
Procedure
- Navigate to your Bitbucket source repository.
- Go to Repository settings > Webhooks, and select Add webhook.
- In the Title field, enter an appropriate title.
- In the URL field, enter the webhook URL.
. In the Trigger section:
- Select Push.
- Select Merged.
- Select Save.
Verification
- Make a code change in your Bitbucket repository and push the changes.
- Navigate to the CI tab in RHDH.
- Verify that a pipeline run is triggered after your code update.
Revised on 2025-11-05 05:28:12 UTC