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

This is a multi-part message in MIME format... ------------=_1518009294-31322-340 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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-SetupRe...] usage of the API to get rid of this message. -- This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100079) ------------=_1518009294-31322-340 Content-Type: text/html; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit <html><body> <h3>Evgheni Dereveanchin created OVIRT-1889:</h3> <pre> 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</pre> <p>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 ).</p> <p>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?</p> <p>We should [configure|<a href="https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-SetupRequirements">https://wiki.jenkins.io/display/JENKINS/Gerrit+Trigger#GerritTrigger-SetupRequirements</a>] usage of the API to get rid of this message.</p> <p>— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100079)</p> <img src="https://u4043402.ct.sendgrid.net/wf/open?upn=i5TMWGV99amJbNxJpSp2-2BJ33BSM3t..." alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/> </body></html> ------------=_1518009294-31322-340--
participants (1)
-
Evgheni Dereveanchin (oVirt JIRA)