Be explicit about the location of the home on the remote machine.

This commit is contained in:
Feanil Patel
2019-09-04 15:00:05 -04:00
parent 04025cd8c7
commit 666f1b748d

View File

@@ -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' & "