Skip to main content
Kinetic Community

GitLab Webhook Create

Creates a new webhook for an existing GitLab project.

Downloads

By downloading this file, you acknowledge that you agree to our Terms of Service

gitlab_webhook_create_v1.zip

Detailed Description

Creates a new webhook using a user's private token (obtained in GitLab under the intended user's 'Settings' => 'Account') and the new webhook information. The URL and Secret Token are values that are used to build and send the request when a GitLab action fires the webhook (a secret token is not required) while trigger events determine when the webhook is triggered. For more information on configuring webhooks in GitLab, see GitLab's general webhook documentation (https://gitlab.com/help/user/project...tions/webhooks). If the webhook is successfully created, the newly created webhook id will be returned in the results.

Parameters

Name Description
Project Group Path of the group where the project is located (defaults to the GitLab default group if not provided).
Project Path Path of the project where the branch should be created.
URL URL for the webhook.
Secret Token Secret Token for the webhook (send with the webhook request in the X-Gitlab-Token header).
Enable SSL Verification Do SSL verification when the webhook is triggered ('true' or 'false').
Trigger Events A comma separated list of events that will trigger the webhook. Options are: 'push','issues','merge','tag_push','note','job','pipeline','wiki'.

Sample Configuration

Parameter Example Configuration
Project Group super-secret-group
Project Path test-project
URL http://integrations.acme.com/test-project
Secret Token 123456789
Enable SSL Verification false
Trigger Events push,merge

Results

Name Description
Webhook Id If the webhook was successfully created, the id of the newly created webhook.

Change Log

Version Date Description
1 2017-10-02 * Initial version. See README for details.