Skip to content

Instantly share code, notes, and snippets.

@dshipp
Created February 14, 2013 10:04
Show Gist options
  • Save dshipp/4951712 to your computer and use it in GitHub Desktop.
Save dshipp/4951712 to your computer and use it in GitHub Desktop.
A virtualenv can also be invoked by setting environment variables, rather than the normal activate script
VIRTUAL_ENV=/opt/myenv
PATH=$VIRTUAL_ENV/bin:$PATH
@dshipp
Copy link
Author

dshipp commented Feb 14, 2013

In Jenkins, use the EnvInject plugin to set these environment variables from file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment