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
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