commit | 4f43f5db6b8aa7f36381f4f9a4c9ec1fc335d949 | [log] [tgz] |
---|---|---|
author | Saša Živkov <sasa.zivkov@sap.com> | Wed Jun 19 17:28:03 2024 +0200 |
committer | Matthias Sohn <matthias.sohn@gmail.com> | Wed Jun 19 18:43:17 2024 +0000 |
tree | a2934ce98ff66673d623a61b19fbe5637f9f720e | |
parent | 41c3ad1d584f3b81bacc59e89e022dc1e7ffc3f2 [diff] |
Print hook stdout/stderr in case of a non-zero exit code Prior to this change the hook output was only printed when the logging level was at least DEBUG. However, when a hook exits with an error we need to read the hook output in order to get more details about the error. Release-Notes: Print hook stdout/stderr in case of a non-zero exit code Change-Id: I24b9f69c9faea561d7fce0b3818801dd64852729
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.