Blog Archive for September 29, 2011

Django Autotest on Hudson/Jenkins with VirtualEnv

September 29, 2011

I wanted to run an autotest (./manage.py test) on my Django project, after first installing dependencies into a virtualenv. Here's the setup I used.

Jenkins Environment Variables

In the build, set the environment variables so that the virtualenv is added to the PATH, and the workspace is added …