Registering Gerrit servers

The Gerrit server must be registered with the adapter.

Before you begin

The Gerrit additions are deployed to the Gerrit server. Licensing is set up for the adapter.

About this task

Register the Gerrit server to make it known to the Git adapter.

Procedure

  1. Point your web browser to the Gerrit home page. For example, http://our.gerrit.server/gerrit

    The Rational® Adapter for Git banner shows. The banner is one of the Gerrit additions that you deployed to the Gerrit server.

  2. Click the Admin (Administration) icon in the upper right portion of the banner and then click Register This Server.

    The Register a New Git Server page opens in a new web browser window.

  3. Confirm that the Git URL shows the correct Gerrit server URL.

    For example, http://our.gerrit.server/gerrit

  4. Confirm that Type is Gerrit.
  5. Click Save.
  6. The Gerrit server is registered with the adapter. The Git Server Connection page displays. An information message directs you to further instructions to run gerrit_setup.sh -r. Complete the steps as instructed.
  7. Restart the Gerrit server.

Results

The Gerrit server is registered with the adapter.

What to do next

Register Gerrit projects to make them known to the adapter, see Registering Gerrit projects.

Feedback