-
Improvement
-
Resolution: Unresolved
-
Minor
Gerrit allows to comment on files (and lines in files) using a JSON formatted dataset in the review command. The plugin should accept such a dataset (e.g. as a file in the workspace) to comment on the files of a commit.
A job can generate this JSON file from its build process (e.g. from a style checker, linter or compiler) and tell the gerrit-trigger plugin to use it while pushing the review.
See also https://review.openstack.org/Documentation/rest-api-changes.html#review-input and https://github.com/grundprinzip/gerrit-check/blob/master/gerritcheck/check.py