I have a Jenkins server running the Gerrit trigger plugin for continuous integration. For running unit tests and style checks, it's working fantastically!
However, I'm interested in using Jenkins to build our deployment packages as well.
Ideally, developers would push tags to Gerrit, and the gerrit-trigger plugin would notify Jenkins to build the tags, and deploy them appropriately.
Is there some way to configure this through jenkins and gerrit, rather than using hooks in Gerrit's git repos to post to Jenkins's REST API, or using wasteful laggy SCM polling?
I suspect that there may be a way to do this, but I'm not quite sure where to begin.