Created
April 20, 2017 01:10
-
-
Save libert-xyz/b557f287dbcb8c9c21dea40242124ade to your computer and use it in GitHub Desktop.
Build a flask app in 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
PATH=$WORKSPACE/venv/bin:/usr/local/bin:$PATH | |
if [ ! -d "venv" ]; then | |
virtualenv venv | |
fi | |
. venv/bin/activate | |
pip install -r requirements.txt | |
. venv/bin/activate | |
nose2 --plugin nose2.plugins.junitxml --junit-xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment