Hi All,
I tried configuring hooks in gerrit.config file as below
[hooks]
patchset-created = /home/gerrit/gerritsite/hooks/patchset-created
ref-updated = /home/gerrit/gerritsite/hooks/ref-updated
change-merged = /home/gerrit/gerritsite/hooks/change-merged
respective files are kept in hooks/ directory.But when a change is pushed or patchset is added etc., hooks is not getting triggered.
I have also tried changing names like patchsetCreated , refUpdated, changeMerged inplace of above values but it didnt worked. Request you to Kindly assist me in resolving this issue.
If it is possible to trigger hook with arguments (like capability of sending project name, commit info etc., to hook script) , please share the configuration for that
Thanks and Regards,
Lokesh M