GitLab Webhook Endpoint install for Scm Activity

Scm Change-sets add-on now supports and provides web-hook REST end-point for GitLab.

Available from add-on version 2.0.3

Step-1

In GitLab if you are an instance admin (you run your own GitLab installation) then you can add System Webhooks, including for push and tag push events.

Hence it is not necessary to individually add webhooks to each and every repository if you want them to be handled for all - which is very common for companies running their own GitLab instance and Jira instances.

On GitLab project, go to repository settings > Integrations > Click Add Webhook

Define Payload URL e.g. http://JIRASERVER/rest/scmactivity/1.0/changeset/gitlab/push

Choose triggers:

  • Push events

  • Tag Push events

Check checkbox Enable SSL verification

Click Save/Add webhook.

 

Step-2

Verify payload delivery.