I'm trying to implement automatic testing for a Django project with a Postgres database, but my builds are failing when installing psycopg2 because `pg_config` cannot be found with an error message that can be read [here](http://pastebin.com/JGFwN43p). According to [this answer](https://stackoverflow.com/a/5450183/807674), it's because `libpq-dev` and `python-dev` may not be installed. One solution that will not work for me is using an alternative DB for testing because I have some core code that depends on Postgres-specific features. I'm wondering, has anybody been able to get Django with Postgres up and running on Cloudbees' Jenkins, and if so, how can I do this?