From 1ee326547217ea68ffc4e249e70241567786eab9 Mon Sep 17 00:00:00 2001 From: Mpho raf Date: Tue, 1 Mar 2022 15:41:53 +0200 Subject: [PATCH] removing the python in front --- Jenkinsfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 ''' } }