Skip to content

Instantly share code, notes, and snippets.

@ananelson
Last active December 30, 2015 02:29
Show Gist options
  • Save ananelson/7763218 to your computer and use it in GitHub Desktop.
Save ananelson/7763218 to your computer and use it in GitHub Desktop.
example jenkins build script
export PIP_DOWNLOAD_CACHE=$JENKINS_HOME/.pipcache
PYENV_HOME=$WORKSPACE/.pyenv/
if [ ! -d $PYENV_HOME ]; then
virtualenv $PYENV_HOME
fi
. $PYENV_HOME/bin/activate
pip install --upgrade dexy
dexy reset
dexy
# rsync or something here...
dexy cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment