Gerrit Trigger not Triggering

156 views
Skip to first unread message

Ronald Petty

unread,
Aug 16, 2016, 7:38:03 PM8/16/16
to Jenkins Users
Hello everyone.  

I have a question about gerrit-trigger.  I am having trouble getting it to fire.  I see the following in the jenkins logs:

Aug 16, 2016 11:19:48 PM com.sonyericsson.hudson.plugins.gerrit.trigger.GerritProjectListUpdater tryLoadProjectList
INFO: Not connected to 172.17.0.2:8086, waiting for 64 second(s)

When I push to Gerrit, it never triggers a build on Jenkins (I assume I have the plugin configured correctly).  

If I click “test connection” in the configure screen it succeeds.  If I click “Query and Trigger Gerrit Patches” on the dashboard of Jenkins, it also triggers and launches my Jenkins job.

However, when I trigger via “Query and Trigger Gerrit Patches” I do see this though in the Jenkins logs.

Aug 16, 2016 11:20:29 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.ToGerritRunListener onStarted
INFO: MemoryStatus:
  Project/Build: [gerrit-test]: [#11: null] Completed: false

Aug 16, 2016 11:20:29 PM com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.GerritNotifier buildStarted
INFO: Notifying BuildStarted to gerrit: gerrit review 8,1 --message 'Build Started nulljob/gerrit-test/11/ ' --verified 0 --code-review 0
Aug 16, 2016 11:20:29 PM com.sonymobile.tools.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob sendCommand
SEVERE: Could not run command gerrit review 8,1 --message 'Build Started nulljob/gerrit-test/11/ ' --verified 0 --code-review 0
java.io.IOException: Error during sending command
at com.sonymobile.tools.gerrit.gerritevents.workers.cmd.AbstractSendCommandJob.sendCommand2(AbstractSendCommandJob.java:118)
...

Any idea (including the user) that is incorrect?

Thank you.

Ron

Reply all
Reply to author
Forward
0 new messages