From aab13ef5293e755ba86aba1d970926e34f942d28 Mon Sep 17 00:00:00 2001 From: ShubhamRathi Date: Thu, 16 Feb 2017 01:23:14 +0530 Subject: Install virtualenv Installing virtualenv in doc shell Change-Id: I3a77f09d7b2921064e1d599cd2e59c0140d71995 Signed-off-by: ShubhamRathi --- jjb/opnfvdocs/docs-rtd.yaml | 7 +++++-- 1 file 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 -- cgit 1.2.3-korg