diff --git a/scripts/xdist/prepare_xdist_nodes.sh b/scripts/xdist/prepare_xdist_nodes.sh index 8392d0aa59..0029c75e6e 100644 --- a/scripts/xdist/prepare_xdist_nodes.sh +++ b/scripts/xdist/prepare_xdist_nodes.sh @@ -23,8 +23,8 @@ do worker_reqs_cmd="ssh -o StrictHostKeyChecking=no jenkins@$ip 'git clone --branch master --depth 1 -q https://github.com/edx/edx-platform.git; cd edx-platform; git fetch -fq origin ${XDIST_GIT_REFSPEC}; git checkout -q ${XDIST_GIT_BRANCH}; - rm -rf $HOME/edx-venv; - tar -C $HOME -xf $HOME/edx-venv_clean-$PYTHON_VERSION.tar.gz; + rm -rf /home/jenkins/edx-venv; + tar -C /home/jenkins -xf /home/jenkins/edx-venv_clean-${PYTHON_VERSION}.tar.gz; source ../edx-venv/bin/activate; pip install -q ${DJANGO_REQUIREMENT} -r requirements/edx/testing.txt; mkdir reports' & "