summaryrefslogtreecommitdiffstats
path: root/jjb/opnfvdocs
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/opnfvdocs')
-rw-r--r--jjb/opnfvdocs/docs-rtd.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml
index e0163dc76..9fb45877d 100644
--- a/jjb/opnfvdocs/docs-rtd.yaml
+++ b/jjb/opnfvdocs/docs-rtd.yaml
@@ -76,8 +76,11 @@
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
fi
- shell: |
- virtualenv $WORKSPACE/venv
- source $WORKSPACE/venv/bin/activate
+ sudo pip install -u virtualenv virtualenvwrapper
+ export WORKON_HOME=$HOME/.virtualenvs
+ source /usr/local/bin/virtualenvwrapper.sh
+ mkvirtualenv $WORKSPACE/venv
+ workon $WORKSPACE/venv
pip install --upgrade pip
pip freeze
pip install tox