Configuring the Git repository in Gerrit

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

About this task

On Linux, the Gerrit repositories are located by default under /var/gitrepos. The following steps assume that the Gerrit repositories are in this location.

Procedure

  1. Locate the Gerrit repository folder under /var/gitrepos.
  2. Update the Gerrit 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/gitrepos/repository-name 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.

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki