diff --git a/Jenkinsfile b/Jenkinsfile index 7c53c34..6004c01 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -33,11 +33,12 @@ pipeline { } steps { sh ''' - python -m venv ${PY_ENV}; source ${PY_ENV}/bin/activate + python -m venv ${PY_ENV} + source ${PY_ENV}/bin/activate export PATH=${PY_ENV}/bin:${PATH} pip install -r requirements.txt - python -m pytest catalog/tests/ - python -m xmlrunner discover -p *_test.py + pytest catalog/tests/ + xmlrunner discover -p *_test.py ''' } }