I am using Jenkins 1.557 to watch a Gerrit 2.8 instance for changes. I am using the following plugins:
- Git Plugin 2.1.0
- Git Client Plugin 1.7.0
- Gerrit Trigger 2.11.1
When I use "test connection" on the Gerrit Trigger, it returns success, so I know the credentials are working. I'm using the default values under the "advanced" button.
For my test build type, I'm using a git repo, which Jenkins checks out (I added a post build step of "ls -l" and it shows the repo contents correctly). I have the build trigger set to "gerrit event" and for "gerrit trigger" I have "Check non-reviewed patchsets" selected, and a trigger for "patchset created" enabled. The gerrit project settings seem correct.
I cannot get the build to fire by uploading a new change or a new patchset for a change. When I manually fire the build using the "Query and trigger Gerrit patches" button, the build happens, but no votes are recorded. I'm clearly missing on part of the puzzle - if I ssh into gerrit and do a "stream-events", I see the events I'm expecting to see.
Jenkins - the definitive guide - from O'Reilly does not really cover Gerrit. I'm trying to avoid polling because there will be dozens of git repos managed by this Jenkins instance.
What is the next step in debugging?