Открыть боковую панель
GitLab.org
Gitlab
Коммиты
2fa3a0c4
Коммит
2fa3a0c4
создал
Мар 10, 2021
по автору
Craig Norris
Просмотр файлов
Remove Starter tier icon
Remove help icon for Starter tier reference.
владелец
a2ccb063
Изменения
1
Скрыть пробелы
Построчно
Рядом
doc/administration/server_hooks.md
Просмотр файла @
2fa3a0c4
...
...
@@ -36,7 +36,7 @@ Note the following about server hooks:
-
[
Webhooks
](
../user/project/integrations/webhooks.md
)
.
-
[
GitLab CI/CD
](
../ci/README.md
)
.
-
[
Push Rules
](
../push_rules/push_rules.md
)
, for a user-configurable Git hook
interface.
**(STARTER)**
interface.
-
Server hooks aren't replicated to
[
Geo
](
geo/index.md
)
secondary nodes.
## Create a server hook for a repository
...
...
@@ -104,8 +104,6 @@ Now test the hook to check whether it is functioning properly.
## Chained hooks
> [Introduced](https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/93) in GitLab Shell 4.1.0 and GitLab 8.15.
Server hooks set
[
per project
](
#create-a-server-hook-for-a-repository
)
or
[
globally
](
#create-a-global-server-hook-for-all-repositories
)
can be executed in a chain.
...
...
@@ -158,8 +156,6 @@ them as they can change.
## Custom error messages
> [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/5073) in GitLab 8.10.
To have custom error messages appear in the GitLab UI when a commit is declined or an error occurs
during the Git hook, your script should:
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать