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

          [JENKINS-44209] Allow commenting on lines using a JSON file

          There are no comments yet on this issue.

            rsandell rsandell
            manuel_stahl Manuel Stahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: