]
Evgheni Dereveanchin reassigned OVIRT-1889:
-------------------------------------------
Assignee: Evgheni Dereveanchin (was: infra)
Configure gerrit-trigger plugin to use REST API
-----------------------------------------------
Key: OVIRT-1889
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1889
Project: oVirt - virtualization made easy
Issue Type: Improvement
Reporter: Evgheni Dereveanchin
Assignee: Evgheni Dereveanchin
Currently Jenkins is configured to use SSH to query Gerrit. There is an option to enable
the REST API as well which is useful when event-log plugin is installed on the Gerrit (
OVIRT-1196 ).
Jenkins tries to connect to the API to confirm if the plugin is installed which is
currently flooding the logs with messages like this:
INFO: Started GerritMissedEventsPlaybackEnabledChecker
Feb 07, 2018 12:57:06 PM
com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker buildURL
WARNING: REST API is not enabled.
Feb 07, 2018 12:57:06 PM
com.sonyericsson.hudson.plugins.gerrit.trigger.utils.GerritPluginChecker isPluginEnabled
WARNING: Not able to verify if Gerrit plugin events-log is installed. REST URL cannot be
null. Is the REST API Enabled?
We should
[configure|https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-SetupRequirements]
usage of the API to get rid of this message.