Database service is running in specific org and space. Two apps are bound to this DB service.
To apply liquibase change from Jenkins to DB service, we need JDBC connection between Jenkins and bosh instance.
Jenkins is outside PCF
How to retrieve IP address of Database service host?
Load the hostname from
VCAP_SERVICESand then resolve it. You can usejqto readVCAP_SERVICESand pull out the hostname. You can then usedig <hostname>orhost <hostname>to resolve the hostname. Then you have the IP.If you're trying to access a service from outside CF, make sure that you have network and firewall access to said service. Network access is often restricted/blocked outside of the CF environment.
Hope that helps!