Welcome to mirror list, hosted at ThFree Co, Russian Federation.

web_hooks.md « raketasks « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ffbf5f8698a6102cc9d262dde7963dca5263204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Web hooks

### Add a web hook for **ALL** projects:

    RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook"


### Add a web hook for projects in a given **NAMESPACE**:

    RAILS_ENV=production bundle exec rake gitlab:web_hook:add URL="http://example.com/hook" NAMESPACE=acme


### Remove a web hook from **ALL** projects using:

    RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook"


### Remove a web hook from projects in a given **NAMESPACE**:

    RAILS_ENV=production bundle exec rake gitlab:web_hook:rm URL="http://example.com/hook" NAMESPACE=acme


### List **ALL** web hooks:

    RAILS_ENV=production bundle exec rake gitlab:web_hook:list


### List the web hooks from projects in a given **NAMESPACE**:

    RAILS_ENV=production bundle exec rake gitlab:web_hook:list NAMESPACE=/

> Note: `/` is the global namespace.