[JIRA] (OVIRT-1889) Configure gerrit-trigger plugin to use REST API

Evgheni Dereveanchin (oVirt JIRA) jira at ovirt-jira.atlassian.net
Wed Feb 7 13:14:54 UTC 2018


Evgheni Dereveanchin created OVIRT-1889:
-------------------------------------------

             Summary: 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: infra


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.




--
This message was sent by Atlassian Jira
(v1001.0.0-SNAPSHOT#100079)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20180207/14988471/attachment-0001.html>


More information about the Infra mailing list