Skip to content
Snippets Groups Projects
Commit 5dc8dbe4 authored by Jonhnny Weslley's avatar Jonhnny Weslley Committed by Wes Gurney
Browse files

add help page for web hooks management using rake tasks

parent 43685b1b
No related branches found
No related tags found
1 merge request!4954Add support to configure webhook_timeout in gitlab.yaml
### 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment