lmlima / jenkins-postgresql-job-databases-plugin

It is not maintained anymore, use https://github.com/jbox-web/job-database-manager-postgresql instead.
MIT License
3 stars 1 forks source link

Doesn't support environment variable #3

Open ogirardot opened 9 years ago

ogirardot commented 9 years ago

Hi, I'm trying to use as global settings environment variables provided by docker like : ${POSTGRES_PORT_5432_TCP_PORT} and it doesn't seem that the plugin handles them :

psql: invalid port number: "${POSTGRES_PORT_5432_TCP_PORT}"

Is the output i get.

Regards,

Olivier.

ogirardot commented 9 years ago

My bad

ogirardot commented 9 years ago

Actually it's right, I tried to use $BUILD_NUMBER inside the createdb statement with no success

n-rodriguez commented 9 years ago

https://github.com/jbox-web/job-database-manager-mysql https://github.com/jbox-web/job-database-manager-postgresql