Defining pipelines with Tekton


Red Hat Advanced Developer Suite - software supply chain 1.9

Learn how to add webhooks to your source code repository when you select Tekton as a CI provider.

Red Hat Advanced Developer Suite - software supply chain Documentation Team

Abstract

This document provides instructions on adding webhooks to your source code repository when you select Tekton as a CI provider.

Preface

When using Tekton as your CI provider, you must configure webhooks in your git provider (GitLab or Bitbucket). This ensures that code updates automatically trigger pipeline runs in RHDH.

Set up webhooks in GitLab to automatically trigger pipeline runs in Red Hat Developer Hub (RHDH) upon code updates.

Prerequisites

  • You must have integrated GitLab during the RHADS - SSC install process.
  • You have selected the GitLab repository for your application in the RHDH platform catalog.
  • You have a Webhook URL and a Secret Token. You can find these credentials in your private.env file.

Procedure

  1. Navigate to your GitLab source repository.

    1. On the Red Hat Developer Hub platform, navigate to the Catalog, select an application where GitLab is configured as the repository host.
    2. Go to the Overview tab and select View Source to open the repository for your source code.
  2. Go to Settings > Webhooks.
  3. In the URL field, enter the webhook URL.
  4. In the Secret Token field, enter the secret token.
  5. In the Trigger section:

    1. Select Push events.
    2. Select Merge request events.
  6. Click Add Webhook.

Verification

  1. Commit any change to the source repository in GitLab.
  2. Navigate to the CI tab in RHDH.
  3. Verify that a pipeline run is triggered for your code push.

Set up webhooks in Bitbucket to automatically trigger pipeline runs in Red Hat Developer Hub (RHDH) upon code updates.

Prerequisites

  • You must have integrated Bitbucket during the RHADS - SSC install process.
  • You have selected the Bitbucket repository for your application in the RHDH platform catalog.
  • You must have a Webhook URL. You can find these credentials in your private.env 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 2026-04-01 14:32:25 UTC

Legal Notice

Copyright © Red Hat.
Except as otherwise noted below, the text of and illustrations in this documentation are licensed by Red Hat under the Creative Commons Attribution–Share Alike 3.0 Unported license . If you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, the Red Hat logo, JBoss, Hibernate, and RHCE are trademarks or registered trademarks of Red Hat, LLC. or its subsidiaries in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
XFS is a trademark or registered trademark of Hewlett Packard Enterprise Development LP or its subsidiaries in the United States and other countries.
The OpenStack® Word Mark and OpenStack logo are trademarks or registered trademarks of the Linux Foundation, used under license.
All other trademarks are the property of their respective owners.
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

© 2026 Red Hat
Back to top