Creating webhooks
You can configure a webhook for a repository in the Git server to notify HCL DevOps Test Hub (Test Hub) whenever there is a push event in the remote repository. Then, the refresh activity is triggered to fetch the latest changes to the server repository.
Before you begin
You must have completed the following tasks:
- Configured the repository that contains the test assets in your project.
- Been assigned a Member or Project Creator role in a team space.
- Been assigned the Owner role in the project.
Procedure
- Log in to Test Hub and open the team space that contains your project.
- Open your project either from the left navigation pane or from the My Projects page.
-
Click
from the navigation pane.
The Configuration page of the project is displayed.
-
In the Repositories section, click the
Webhook
icon under Actions
column for the repository that you want to update.
The Webhook Configuration dialog is displayed.
-
Copy the URL and the Secret of the repository that you want to
configure.
Note: The URL and the Secret details are specific to a repository.
-
Click the link of the repository for which you want to configure the
webhook.
The remote repository page is displayed.
- Paste the details, which you copied from Test Hub, in the appropriate fields of the remote repository.