commit | 5a8736255bb42b2ddeb418a7d4017a30b371f5f7 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Jun 25 12:43:15 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Jun 25 12:59:07 2018 +0900 |
tree | 7ce784d23a4109868c950bc58279f7916d07bba9 | |
parent | 235025d0940a433d5a15167a0e24e3b685f059b4 [diff] |
GroovyPluginProvider: Adjust to changed constructor of ServerPlugin The constructor requires the plugin metrics prefix and the gerrit runtime environment. Change-Id: I195cc6f119b716a4eb3161ac72b2355e332a8fcc
This plugin provides Groovy runtime environment for Gerrit plugins in Groovy.
To build, link this directory under Gerrit's tree plugins directory, merge the dependencies from external_plugin_deps.bzl into the file of the same name in the plugins directory, and from the root of the gerrit tree run:
bazel build plugins/groovy-provider
The resulting artifact can be found under:
bazel-genfiles/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