From 0764fa0fd12dcf0398db2bb330939bf4675b969d Mon Sep 17 00:00:00 2001 From: Mpho raf Date: Tue, 1 Mar 2022 15:24:23 +0200 Subject: [PATCH] pulling proper venv --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 38c242f..f54e1be 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,8 +30,8 @@ pipeline { } steps { sh ''' - cd /tmp/; virtualenv pitestenv; source ./pitestenv/bin/activate - pip install -r requirements.txt; cd - + python3 -m venv /tmp/pitestenv; source /tmp/pitestenv/bin/activate + pip install -r requirements.txt python -m pytest catalog/tests/ python -m xmlrunner discover -p *_test.py '''