Allows the load Gerrit plugins implemented as Groovy scripts

Clone this repo:
  1. 8c1af0e Add support for Bazel in Gerrit tree build by Paladox none · 7 weeks ago master
  2. bc06230 Adapt to Gerrit 2.14 and Java 8 by Luca Milanesio · 5 months ago
  3. 6f23da3 README: Remove the link to pending changes for Gerrit master by Sebastian Schuberth · 10 months ago stable-2.12 stable-2.13
  4. 8657f2c Bump to 2.12-SNAPSHOT and use of java.nio.Path by Luca Milanesio · 2 years, 1 month ago
  5. e022761 Adapting resources scanner to return PluginEntry by Luca Milanesio · 2 years, 11 months ago stable-2.11

Gerrit Groovy Provider Plugin

This plugin provides Groovy runtime environment for Gerrit plugins in Groovy.

To build link this directory under Gerrit's tree plugins directory and run:

  buck build plugins/groovy-provider

The resulting artifact can be found under:

 buck-out/gen/plugins/groovy-provider/groovy-provider.jar

To test deploy the review plugin [1] and copy this Groovy Provider plugin under $gerrit_site/plugins directory.

Review plugin in Groovy can be used:

  ssh gerrit review approve I59302cbb
  Approve change: I59302cbb