If you want to install event log plugin for publishing events to Gerrit trigger.
Use below mentioned steps if you want to install event log plugin.
1) Install event log plugin with below mentioned command:
ssh -p 29418 username@gerrit-server gerrit plugin install -n eventlog.jar \ https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.15/job/plugin-events-log-bazel-stable-2.15/lastSuccessfulBuild/artifact/bazel-genfiles/plugins/events-log/events-log.jar
2) Add below mentioned entry in gerrit.config file.
[hook]
commit-received
patchsetCreatedHook
3) Restart gerrit server and check logs.
Use below mentioned steps if you want to install event log plugin.
1) Install event log plugin with below mentioned command:
ssh -p 29418 username@gerrit-server gerrit plugin install -n eventlog.jar \ https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.15/job/plugin-events-log-bazel-stable-2.15/lastSuccessfulBuild/artifact/bazel-genfiles/plugins/events-log/events-log.jar
2) Add below mentioned entry in gerrit.config file.
[hook]
commit-received
patchsetCreatedHook
3) Restart gerrit server and check logs.
No comments:
Post a Comment