[
https://issues.jenkins-ci.org/browse/JENKINS-11150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161026#comment-161026
]
sdirector commented on JENKINS-11150:
-------------------------------------
We're working on getting this upstreamed... but until then:
https://github.com/openstack-ci/gerrit-trigger-plugin
We've been working with the guys from Ericsson to have gerrit respond to
multiple event types. One of them is "comment added" - which allows you to
respond to any of those. We, in fact, have customized categories and respond to
them in our Jenkins.
> Enable integration with customised Gerrit review categories
> -----------------------------------------------------------
>
> Key: JENKINS-11150
> URL: https://issues.jenkins-ci.org/browse/JENKINS-11150
> Project: Jenkins
> Issue Type: Improvement
> Components: gerrit
> Reporter: Peter van Zetten
> Assignee: jyrkiput
> Priority: Minor
>
> In some projects it may be the case that the Gerrit instance has been
> configured with customised review categories, for example to meet more
> stringent internal/external PA requirements than the default "code-review"
> and "verified". The Gerrit plugin for Jenkins is hard-coded to allow review
> of only the two default categories, and therefore cannot integrate with any
> such customised instance.
> The proposed improvement would be to retrieve the list of available
> categories for the selected Gerrit instance, and allow the plugin to be
> configured to update any of them.
> The list of available review categories can be retrieved from the Gerrit SSH
> CLI with the command "ssh -p <port> <host> gerrit approve --help". The output
> of this command can be parsed to provide the plugin configuration options.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira