Creating webhooks

You can configure a webhook for a repository in the Git server to notify Rational® Test Automation Server 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 Tester or Owner role in the project.

Procedure

  1. Log in to Rational® Test Automation Server and open the team space that contains your project.
  2. Open your project.
  3. Go to the Repositories page.
  4. Click the Menu icon menu_icon and then click Webhook.

    The Webhook Configuration dialog is displayed.

  5. 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.
  6. Click the link of the repository for which you want to configure the webhook.

    The remote repository page is displayed.

  7. Paste the details, which you copied from Rational® Test Automation Server, in the appropriate fields of the remote repository.

Results

You have configured the webhook for a repository in the Git server. The changes of the remote repository are synchronized in the repository of your project.