Not sure whether that is a bug. Feel free to requalify it if needed.
My current scenario :
- running the Jenkins application in a docker container, and running the container with the network of the docker host (–network=host as arg).
- configuring a multibranch pipeline project with Gitlab as branch source.
- clicking save
We get on the UI (and in the log) that exception :
We can see that indeed the plugin disallows any localhost as url :
I tried to play with /etc/hosts by using a hostname mapped to localhost but same result