Configuring the Git repository in Bitbucket

You need to configure the Git repository managed by Bitbucket so that it can communicate with the IBM® Engineering Workflow Management (EWM) server with which it is registered.

About this task

On Linux, the Git repositories are located by default under /var/atlassian/application-data/Bitbucket/shared/data/repositories. The following steps assume that the Git repositories are in this location. Repeat this task for each Git repository.

To find the Git repository in the repositories folder corresponding to a Git repository in the Bitbucket web interface, follow the steps in Identifying a Repository on the Bitbucket Server.

Procedure

  1. Locate the Git repository folder under /var/atlassian/application-data/Bitbucket/shared/data/repositories.
  2. Update the Git repository config file to identify the EWM server URL and the value of the Key field in the Git repository that is registered with EWM.
    1. In the web client, log on to the Change and Configuration Management page. For example, go to https://host_name:9443/ccm/web.
    2. Click Source Control > Work with Git.
    3. Click Browse Registered Git Repositories.
    4. Select the repository that you registered.
    5. Copy the value next to the Key field.
    6. Open the config file under /var/atlassian/application-data/Bitbucket/shared/data/repositories repository-ID in a text editor.
    7. Add the following lines to the end of the file:
      [rtc] 
               repourl = URL-of-the-server
               repokey = key-from-step-e
    8. Save the config file.