Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Addition of webhooks in Gitlab

Tags:

jenkins

gitlab

I want to do automatic build in Jenkins when code gets pushed into the Gitlab. For the same doing webhooks configuration in Gitlab, but getting error :

Url is blocked: Requests to the local network are not allowed.

Even not able to do the activity mentioned in the image :

enter image description here

I am not able to go to the admin area.

like image 988
user2696813 Avatar asked Nov 08 '22 05:11

user2696813


1 Answers

if you have the gitlab server locally

from doc

This behavior can be overridden by enabling the option “Allow requests to the local network from web hooks and services” in the “Outbound requests” section inside the Admin Area > Settings (/admin/application_settings/network):

url to the entire article here

like image 169
Hamza AZIZ Avatar answered Nov 11 '22 08:11

Hamza AZIZ