We have some REST APIs which are exposed to clients via a proxy server. When running using bitbucket pipelines, we are able to connect to proxy server. There is one more server, which is internal, which we generally connect through vpn and when running through bit bucket pipelines, test cases against internal server are failing with unknown host name error, is there a way to get to these urls through bitbucket pipeline runs.
bitbucket pipelines can only access public internet resources. That includes DNS entries and IP adresses. You will have to make your internal service publicly accessible for your pipeline to work.
You can whitelist the IPs coming from Bitbucket Pipelines, this FAQ entry should help you with that https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall-343343385.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.