Plugin to display user icons from Gravatar.

Clone this repo:
  1. b687eb0 Reformat as markdown by Luca Milanesio · 9 months ago master
  2. 5713ff0 Add with an overview of the plugin and links to docs by Luca Milanesio · 9 months ago
  3. c70e9b6 Introduce defaultImage when the account does not have emails by Luca Milanesio · 9 months ago
  4. e6db1b0 Remove BUCK build file by Luca Milanesio · 9 months ago
  5. 4d45f66 Allow to provide protocol in gravatar service url by Adam Szczepaniak · 8 years ago

Gerrit Gravatar plugin

This plugin populates Gerrit users' avatar images from the popular Gravatar platform using the MD5 code of the user's preferred email.

How to build

Clone or link this plugin to the plugins directory of Gerrit‘s source tree, and then run bazel build on the plugin’s directory.


git clone --recursive
cd plugins
git clone ""
cd .. && bazelisk build plugins/avatars-gravatar

The output plugin jar is created in bazel-bin/plugins/avatars-gravatar/avatars-gravatar.jar

How to install

Copy the avatars-gravatar.jar into the ${GERRIT_SITE}/plugins/ and start Gerrit Code Review.


The plugin configuration is read from $GERRIT_SITE/etc/gerrit.config, see the documentation for more details on the individual settings.