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
- 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.
- 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.
- Confirm that the Git URL shows
the correct Gerrit server URL.
For example, http://our.gerrit.server/gerrit
- Confirm that Type is Gerrit.
- Click Save.
- 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.
- 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.