Skip to content

Instantly share code, notes, and snippets.

@jpatel3
Created March 8, 2013 15:15
Show Gist options
  • Save jpatel3/5117117 to your computer and use it in GitHub Desktop.
Save jpatel3/5117117 to your computer and use it in GitHub Desktop.
jenkins build script for django-jenkins
#!/bin/bash -ex
cd $WORKSPACE
virtualenv -q ve
source ./ve/bin/activate
pip install -E ./ve -r requirements.txt
pip install -E ./ve -r requirements-testing.txt
cd $WORKSPACE/projectname
ln -fs `pwd`/conf/testsettings.py `pwd`/localsettings.py
python manage.py migrate
python manage.py jenkins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment