Merge pull request #21564 from edx/feanil/fix_running_on_jenkins

Feanil/fix running on jenkins
This commit is contained in:
Feanil Patel
2019-09-05 08:47:11 -04:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@@ -23,6 +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/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' & "

View File

@@ -60,6 +60,7 @@ passenv =
XDIST_WORKER_KEY_NAME
XDIST_WORKER_SECURITY_GROUP
XDIST_WORKER_SUBNET
PYTHON_VERSION
deps =
django111: -r requirements/edx/django.txt