Jenkins can not connect to Gitlab on Kubernetes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Jenkins can not connect to Gitlab on Kubernetes

Đỗ Tuấn
I use Kubernetes deployment to deploy Gitlab and Jenkins images. On Kubernetes, I create ingress for gitlab serivce  and custom url for this ingress. 
But when create CICD, Jenkins project config source version control type Gitlab can not see Gitlab repository url. Also I add host alias for Gitlab url on jenkins /etc/hosts file.
It always show 
Failed to connect to repository : Command "git ls-remote -h xxx.git HEAD" returned status code 128:
stdout: 
stderr: fatal: unable to access 'xxx.git/': The requested URL returned error: 502

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1f9bc3c1-f114-49ed-8413-7fd9e10621b7%40googlegroups.com.