You can put following file into $site_path/hooks :
patchset-created, comment-added, change-merged, change-abandoned
The gerrit will call these function with parameter, ex:
patchset-created --change--project --branch --commit --patchset
patchset-created --change--project --branch --commit --patchset
No comments:
Post a Comment