Created
March 8, 2013 15:15
-
-
Save jpatel3/5117117 to your computer and use it in GitHub Desktop.
jenkins build script for django-jenkins
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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