summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShubhamRathi <shubhamiiitbackup@gmail.com>2017-02-17 20:56:35 +0530
committerShubhamRathi <shubhamiiitbackup@gmail.com>2017-02-17 20:56:35 +0530
commit31dd95c902ed4b4345bb21f2047b37efa332651e (patch)
treea9050705bc744157074a2388bb5428cd3e4216b0
parent2f069603bcf7b459c3a8309f140fb147f25b1e8e (diff)
Install virtualenv
This patch installs virtualenv in the slave machine. Change-Id: Ib9dc27f30b135d6ba5a587df7825ad2e9cfbaf11 Signed-off-by: ShubhamRathi <shubhamiiitbackup@gmail.com>
-rw-r--r--jjb/opnfvdocs/docs-rtd.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/jjb/opnfvdocs/docs-rtd.yaml b/jjb/opnfvdocs/docs-rtd.yaml
index 32ef73205..1f1496730 100644
--- a/jjb/opnfvdocs/docs-rtd.yaml
+++ b/jjb/opnfvdocs/docs-rtd.yaml
@@ -76,11 +76,9 @@
git fetch origin $GERRIT_REFSPEC && git checkout FETCH_HEAD
fi
- shell: |
- sudo pip install virtualenv virtualenvwrapper
- export WORKON_HOME=$HOME/.virtualenvs
- source /usr/local/bin/virtualenvwrapper.sh
- mkvirtualenv $WORKSPACE/venv
- workon $WORKSPACE/venv
+ sudo pip install virtualenv
+ virtualenv $WORKSPACE/venv
+ source $WORKSPACE/venv/bin/activate
pip install --upgrade pip
pip freeze
pip install tox