commit | e0227613a6b331bd7516e18d519c4dae7f3304ff | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Apr 29 18:20:52 2014 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Mon Jun 30 09:46:22 2014 +0100 |
tree | c2813281048a42e8563d6cb15c5e42d69ae9f27a | |
parent | 43ec334069d298f6f721bbbdb65056ce1c58f86e [diff] |
Adapting resources scanner to return PluginEntry Thanks to the latest changes on HttpPluginServlet (under review: I1d073434) it is now possible to serve any type of static resource as PluginEntry. Interfaces are adapted and next step would be returning static resources from Groovy scripts based plugins. Change-Id: Ic82cbb1be14268517af44383f6d73f0c6425c73a
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