HookArgs: Add @CanonicalWebUrl annotation to urlProvider

In change I56fa559d3 the injection of urlProvider was moved from
HookFactory to HooksArgs, but the @CanonicalWebUrl was accidentally
omitted. This results in an empty string always being provided.

Bug: Issue 9262
Change-Id: I143855e84cba09fea2d1cb57e3e958e1ffd5abba
1 file changed
tree: 10a77cec695ed4941924a9aa98174443b1171ed1
  1. src/
  2. .gitignore
  3. BUILD
  5. README.md

Hooks plugin

Gerrit does not support the standard server-side git hooks in the repositories it manages.

This plugin adds support for custom hooks that can be run instead. Refer to the configuration documentation and list of supported hooks for details.