commit | 4cee50680c38f10bb1b9af3c2f91a8097937893b | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Apr 23 01:16:51 2014 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Wed Apr 23 07:23:01 2014 +0000 |
tree | c6ba3c563e41082c13353a9d06794c13e22a4af7 |
Initial revision of Groovy scripting plugin support for Gerrit Provides the ability to load Groovy scripts as external ServerPlugin into Gerrit. Supports both explicit Guice module definition and auto-discovery of annotated classes. Depends on the 'scripting-reloaded' topic changes. Change-Id: I4e5c0de302499ce137ba7aaf6e5a1cc8f6b4ef57
This plugin provides Groovy runtime environment for Gerrit plugins in Groovy.
To test this series must be applied on top of Gerrit master [1].
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 [2] 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