6/22/2017

github code review UI is so hard to use! Use gerrit

Damn it!

How to integrate gerrit with Jenkins?
An important tool is to use /gerrit_manual_trigger/
If it works, the whole integration should work.

Important things:

  • Gerrit Trigger is setup correctly
  • Additional Behaviors Strategy for choosing what to build: Choosing strategy: Gerrit Trigger
  • Gerrit Project: type and pattern must be set correctly. Plain needs to match exactly the words.
  • To enable email notifications: sudo apt-get install mailutils
Gerrit command:
ssh -p 29418 ec2-34-208-116-181.us-west-2.compute.amazonaws.com gerrit create-account --group "'Non-Interactive Users'" --email reviews@deepmap.ai jenkins

No comments: