diff --git a/Jenkinsfile b/Jenkinsfile index 2514921..5916f07 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,9 @@ pipeline { stages { stage('pytest') { steps { - sh '''python3 -m venv /var/build/jenkins - source /var/build/jenkins/bin/activate + sh '''mkdir -p /tmp/jenkins-venv + python3 -m venv /tmp/jenkins-venv + source /tmp/jenkins-venv/bin/activate pip install -U pytest pip install -r requirements.txt pytest @@ -13,4 +14,4 @@ pipeline { } } -} \ No newline at end of file +}