Our group does co-development, and we have recently configured TeamCity to run regression tests upon a push to the remote repo. Ideally, our developers will now use the Gerrit push, so that the push can be gated by TeamCity. I'm anticipating that not all developers will push via Gerrit, and will decide to still do a "git push" and bypass the verification gate.
I've looked a bit into the git pre-push hook... I see that I can block the push, but can I send a new command that will run the Gerrit push?
Thanks