liquibase launch on Openshift
There's a web application that needs to be sealed on Openshift. The project is going to gradle, building.gradle has created a target for liquibase launch. In a local car, all tasks are correctly designed and the server is launched tomcat. In an attempt to launch a gradle liquibase, the log is issued
:restservice:liquibaseUpdateUnexpected error running Liquibase: liquibase.exception.DatabaseException: Connection could not be created to jdbc:postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT/gradletest with driver org.postgresql.Driver. Possibly the wrong driver for the given database URL
The project uses such dependence
Starting the target
:restservice:liquibaseUpdatecomes from action_hook deploy.
Used postgresql versions from 9.2 to 9.4 in combination with liquibase 3.4.1 and 3.4.2. Openshift postgresql 9.2. Also tried the method from: https://stackoverflow.com/questions/26569302/postgresql-openshift-possibly-the-wrong-driver-for-the-given-database-url
How do you get to work?
Laycee last edited by
You know what a mistake is that the tower doesn't replace the variables. Does everything work if in the violin of the deck the characteristics of the OBD connection through